From 9958f2864502385766753f8f4a7d140aa7a582b5 Mon Sep 17 00:00:00 2001 From: Derek Brown Date: Sun, 5 Apr 2015 20:19:35 -0400 Subject: Add mention of ?assertNotMatch and ?assertNotEqual These two macros are defined in eunit.hrl, but are missing in this documentation. --- lib/eunit/doc/overview.edoc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/eunit/doc') 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))''' +
`assertNotMatch(GuardedPattern, Expr)'
+
The inverse case of assertMatch, for convenience. +
`assertEqual(Expect, Expr)'
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))'''
+
`assertNotEqual(Unexpected, Expr)'
+
The inverse case of assertEqual, for convenience. +
`assertException(ClassPattern, TermPattern, Expr)'
`assertError(TermPattern, Expr)'
`assertExit(TermPattern, Expr)'
-- cgit v1.2.3 From e09dd66dc4d89c62ddfd8c19791f9678d5d787c6 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 12 May 2015 18:18:55 +0200 Subject: Prepare release --- lib/eunit/doc/src/notes.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib/eunit/doc') diff --git a/lib/eunit/doc/src/notes.xml b/lib/eunit/doc/src/notes.xml index 6b76e097b6..3c6daf142e 100644 --- a/lib/eunit/doc/src/notes.xml +++ b/lib/eunit/doc/src/notes.xml @@ -32,6 +32,20 @@

This document describes the changes made to the EUnit application.

+
Eunit 2.2.10 + +
Fixed Bugs and Malfunctions + + +

The eunit application is now unicode safe.

+

+ Own Id: OTP-11660

+
+
+
+ +
+
Eunit 2.2.9
Fixed Bugs and Malfunctions -- cgit v1.2.3 From 9a81b28598fadc44bf506354c9227e41aac786f6 Mon Sep 17 00:00:00 2001 From: Henrik Nord Date: Wed, 13 May 2015 09:40:16 +0200 Subject: Revert "Prepare release" This reverts commit e09dd66dc4d89c62ddfd8c19791f9678d5d787c6. --- lib/eunit/doc/src/notes.xml | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lib/eunit/doc') diff --git a/lib/eunit/doc/src/notes.xml b/lib/eunit/doc/src/notes.xml index 3c6daf142e..6b76e097b6 100644 --- a/lib/eunit/doc/src/notes.xml +++ b/lib/eunit/doc/src/notes.xml @@ -32,20 +32,6 @@

This document describes the changes made to the EUnit application.

-
Eunit 2.2.10 - -
Fixed Bugs and Malfunctions - - -

The eunit application is now unicode safe.

-

- Own Id: OTP-11660

-
-
-
- -
-
Eunit 2.2.9
Fixed Bugs and Malfunctions -- cgit v1.2.3