aboutsummaryrefslogtreecommitdiff
path: root/test/suite.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite.hrl')
-rw-r--r--test/suite.hrl6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/suite.hrl b/test/suite.hrl
index adc14e93a..b2515d8ce 100644
--- a/test/suite.hrl
+++ b/test/suite.hrl
@@ -66,12 +66,14 @@
end)()).
-define(match(Pattern, Result),
+ (fun() ->
case Result of
Pattern ->
- Pattern;
+ ok;
Mismatch ->
suite:match_failure([Mismatch], [??Pattern])
- end).
+ end
+ end)()).
-define(COMMON_VHOST, <<"localhost">>).
-define(MNESIA_VHOST, <<"mnesia.localhost">>).