We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c7eaab commit 8df5097Copy full SHA for 8df5097
1 file changed
plunit_assert.html
@@ -296,7 +296,13 @@ <h1 class="file"><span style="float:right"></span>plunit_assert.pl -- The test A
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>
+<tr><td><var>Goal</var></td><td class="argdescr">- The goal to be queried in the form of a plunit_assert predicate
300
+<code>assert_test_fails(Goal)</code> :-
301
+( <var>Goal</var>
302
+-> <code>feedback('Asserted test failure but test passed: ~q', [Goal])</code>,
303
+fail
304
+; true
305
+).</td></tr>
306
</table>
307
308
</dd>
0 commit comments