aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZandra Hird <[email protected]>2015-05-11 15:08:54 +0200
committerZandra Hird <[email protected]>2015-05-11 15:08:54 +0200
commite11d241e5ea8099a01e9e0104d9f6f6714b292f9 (patch)
tree233d7a04ecf7f1f6c6e23a6dbba45e85cc4bad55
parent0fad26858f4e952d25ef5372dda634587ad77b57 (diff)
parent9958f2864502385766753f8f4a7d140aa7a582b5 (diff)
downloadotp-e11d241e5ea8099a01e9e0104d9f6f6714b292f9.tar.gz
otp-e11d241e5ea8099a01e9e0104d9f6f6714b292f9.tar.bz2
otp-e11d241e5ea8099a01e9e0104d9f6f6714b292f9.zip
Merge branch 'derek121/eunit-doc-additions'
* derek121/eunit-doc-additions: Add mention of ?assertNotMatch and ?assertNotEqual
-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>