aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Brown <[email protected]>2015-04-05 20:19:35 -0400
committerZandra Hird <[email protected]>2015-05-08 13:56:44 +0200
commit9958f2864502385766753f8f4a7d140aa7a582b5 (patch)
tree64388a54a9580c90b6876a10f09437a888ea45b8
parent71b16c9b704374ea78de05943883befd49846a22 (diff)
downloadotp-9958f2864502385766753f8f4a7d140aa7a582b5.tar.gz
otp-9958f2864502385766753f8f4a7d140aa7a582b5.tar.bz2
otp-9958f2864502385766753f8f4a7d140aa7a582b5.zip
Add mention of ?assertNotMatch and ?assertNotEqual
These two macros are defined in eunit.hrl, but are missing in this documentation.
-rw-r--r--lib/eunit/doc/overview.edoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/eunit/doc/overview.edoc b/lib/eunit/doc/overview.edoc
index 872a017440..df716cdeea 100644
--- a/lib/eunit/doc/overview.edoc
+++ b/lib/eunit/doc/overview.edoc
@@ -569,6 +569,9 @@ Examples:
```?assertMatch({found, {fred, _}}, lookup(bloggs, Table))'''
```?assertMatch([X|_] when X > 0, binary_to_list(B))'''
</dd>
+<dt>`assertNotMatch(GuardedPattern, Expr)'</dt>
+<dd>The inverse case of assertMatch, for convenience.
+</dd>
<dt>`assertEqual(Expect, Expr)'</dt>
<dd>Evaluates the expressions `Expect' and `Expr' and compares the
results for equality, if testing is enabled. If the values are not
@@ -583,6 +586,9 @@ Examples:
```?assertEqual("b" ++ "a", lists:reverse("ab"))'''
```?assertEqual(foo(X), bar(Y))'''
</dd>
+<dt>`assertNotEqual(Unexpected, Expr)'</dt>
+<dd>The inverse case of assertEqual, for convenience.
+</dd>
<dt>`assertException(ClassPattern, TermPattern, Expr)'</dt>
<dt>`assertError(TermPattern, Expr)'</dt>
<dt>`assertExit(TermPattern, Expr)'</dt>