diff options
author | Hans Bolinder <[email protected]> | 2015-10-12 14:28:39 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-11-04 13:03:56 +0100 |
commit | de432f4ea9a8c29c931f30dd504662be1a01464d (patch) | |
tree | a23d49aac85900a7a03fc63ece2370950327020f /lib/stdlib/doc/src/assert_hrl.xml | |
parent | 02aca536aec93edd799d67615e47bdb7b5babf4a (diff) | |
download | otp-de432f4ea9a8c29c931f30dd504662be1a01464d.tar.gz otp-de432f4ea9a8c29c931f30dd504662be1a01464d.tar.bz2 otp-de432f4ea9a8c29c931f30dd504662be1a01464d.zip |
[stdlib] Correct documentation
Fix mistakes found by 'xmllint'.
Diffstat (limited to 'lib/stdlib/doc/src/assert_hrl.xml')
-rw-r--r-- | lib/stdlib/doc/src/assert_hrl.xml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/stdlib/doc/src/assert_hrl.xml b/lib/stdlib/doc/src/assert_hrl.xml index b85be514d8..ef4f928e57 100644 --- a/lib/stdlib/doc/src/assert_hrl.xml +++ b/lib/stdlib/doc/src/assert_hrl.xml @@ -77,9 +77,6 @@ erlc -DNOASSERT=true *.erl</code> </description> <section> - </section> - - <section> <title>Macros</title> <taglist> <tag><c>assert(BoolExpr)</c></tag> @@ -94,12 +91,12 @@ erlc -DNOASSERT=true *.erl</code> <tag><c>assertMatch(GuardedPattern, Expr)</c></tag> <item><p>Tests that <c>Expr</c> completes normally yielding a value - that matches <c>GuardedPattern</c>. For example: + that matches <c>GuardedPattern</c>. For example:</p> <code type="none"> - ?assertMatch({bork, _}, f())</code></p> - <p>Note that a guard <c>when ...</c> can be included: + ?assertMatch({bork, _}, f())</code> + <p>Note that a guard <c>when ...</c> can be included:</p> <code type="none"> - ?assertMatch({bork, X} when X > 0, f())</code></p> + ?assertMatch({bork, X} when X > 0, f())</code> </item> <tag><c>assertNotMatch(GuardedPattern, Expr)</c></tag> |