Skip to content

Commit 5e657c5

Browse files
committed
deploy: 14a6c41
1 parent 6f755d2 commit 5e657c5

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ <h2 class="wiki plfiles">Prolog files</h2>
9898
<tr class="public"><td><a href="plunit_assert.html#assert_not_unbound/1">assert_not_unbound/1</a></td><td class="summary">Test that Var is not unbound.</td><td align="right"><span style="white-space: nowrap"></span></td></tr>
9999
<tr class="public"><td><a href="plunit_assert.html#assert_output/3">assert_output/3</a></td><td class="summary">Test that a predicate's output arguments match what is expected.</td><td align="right"><span style="white-space: nowrap"></span></td></tr>
100100
<tr class="public"><td><a href="plunit_assert.html#assert_test_fails/1">assert_test_fails/1</a></td><td class="summary">Meta test to check that Goal would trigger a PlUnit test fail.</td><td align="right"><span style="white-space: nowrap"></span></td></tr>
101+
<tr class="public"><td><a href="plunit_assert.html#assert_test_message/2">assert_test_message/2</a></td><td class="summary">Meta test to check we get roughly the right fail messages back.</td><td align="right"><span style="white-space: nowrap"></span></td></tr>
101102
<tr class="public"><td><a href="plunit_assert.html#assert_test_passes/1">assert_test_passes/1</a></td><td class="summary">Meta test to check that Goal would not trigger a PlUnit test fail.</td><td align="right"><span style="white-space: nowrap"></span></td></tr>
102103
<tr class="public"><td><a href="plunit_assert.html#assert_true/1">assert_true/1</a></td><td class="summary">Test that Goal succeeds and therefore is truthy.</td><td align="right"><span style="white-space: nowrap"></span></td></tr>
103104
<tr class="public"><td><a href="plunit_assert.html#assert_type/2">assert_type/2</a></td><td class="summary">Test that Var is of type Type.</td><td align="right"><span style="white-space: nowrap"></span></td></tr>

plunit_assert.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,19 @@ <h1 class="file"><span style="float:right"></span>plunit_assert.pl -- The test A
289289
</dd>
290290
</dl>
291291

292+
</dd>
293+
<dt class="pubdef"><span style="float:right">&nbsp;</span><a name="assert_test_passes/1"><b class="pred">assert_test_passes</b><var class="arglist">(:Goal)</var></a> is <b class="det">semidet</b></dt><dd class="defbody">Meta test to check that <var>Goal</var> would not trigger a PlUnit test fail
294+
295+
<dl class="tags">
296+
<dt class="tag">Arguments:</dt><dd>
297+
298+
<table class="arglist">
299+
<tr><td><var>Goal</var></td><td class="argdescr">- The goal to be queried in the form of a plunit_assert predicate</td></tr>
300+
</table>
301+
302+
</dd>
303+
</dl>
304+
292305
</dd>
293306
<dt class="pubdef"><span style="float:right">&nbsp;</span><a name="assert_test_fails/1"><b class="pred">assert_test_fails</b><var class="arglist">(:Goal)</var></a> is <b class="det">semidet</b></dt><dd class="defbody">Meta test to check that <var>Goal</var> would trigger a PlUnit test fail
294307

@@ -303,13 +316,14 @@ <h1 class="file"><span style="float:right"></span>plunit_assert.pl -- The test A
303316
</dl>
304317

305318
</dd>
306-
<dt class="pubdef"><span style="float:right">&nbsp;</span><a name="assert_test_passes/1"><b class="pred">assert_test_passes</b><var class="arglist">(:Goal)</var></a> is <b class="det">semidet</b></dt><dd class="defbody">Meta test to check that <var>Goal</var> would not trigger a PlUnit test fail
319+
<dt class="pubdef"><span style="float:right">&nbsp;</span><a name="assert_test_message/2"><b class="pred">assert_test_message</b><var class="arglist">(:Goal, +Expected)</var></a> is <b class="det">semidet</b></dt><dd class="defbody">Meta test to check we get roughly the right fail messages back
307320

308321
<dl class="tags">
309322
<dt class="tag">Arguments:</dt><dd>
310323

311324
<table class="arglist">
312325
<tr><td><var>Goal</var></td><td class="argdescr">- The goal to be queried in the form of a plunit_assert predicate</td></tr>
326+
<tr><td><var>Expected</var></td><td class="argdescr">- An expected substring of the fail message</td></tr>
313327
</table>
314328

315329
</dd>

0 commit comments

Comments
 (0)