aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/assert_hrl.xml
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-11-04 13:14:33 +0100
committerHans Bolinder <[email protected]>2015-11-04 13:14:33 +0100
commitc4fd58a394f427edf54fae75288c3b9159f9cc1a (patch)
tree1c7c1d89b8d292546f45a342022ae659069f1ba1 /lib/stdlib/doc/src/assert_hrl.xml
parentce2c23ed1d6b6dc3d1a1c7109ceae255d1203f9f (diff)
parent4ddb88db95442d18abe654ba1ff788e98eebe375 (diff)
downloadotp-c4fd58a394f427edf54fae75288c3b9159f9cc1a.tar.gz
otp-c4fd58a394f427edf54fae75288c3b9159f9cc1a.tar.bz2
otp-c4fd58a394f427edf54fae75288c3b9159f9cc1a.zip
Merge branch 'maint'
* maint: [erl_docgen] Correct documentation [dialyzer] Correct documentation [hipe] Correct documentation [test_server] Correct documentation [tools] Correct documentation [erts] Correct documentation [stdlib] Correct documentation [kernel] Correct documentation Conflicts: lib/stdlib/doc/src/erl_scan.xml
Diffstat (limited to 'lib/stdlib/doc/src/assert_hrl.xml')
-rw-r--r--lib/stdlib/doc/src/assert_hrl.xml11
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>