Skip to content

Commit 913fe5b

Browse files
committed
Fix copy/paste error in callback predicate wording. Fixes #31
1 parent 34e2f65 commit 913fe5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plunit_assert.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
% @arg Term The term to be tested
247247
% @arg Type The type to be un-asserted
248248
% @see assert_type/2
249-
assert_not_type(Term, boolean) :- call_protected(\+ is_boolean(Term), fail_assert_not_type(float, Term)), !.
249+
assert_not_type(Term, boolean) :- call_protected(\+ is_boolean(Term), fail_assert_not_type(boolean, Term)), !.
250250
assert_not_type(Term, float) :- call_protected(\+ float(Term), fail_assert_not_type(float, Term)), !.
251251
assert_not_type(Term, integer) :- call_protected(\+ integer(Term), fail_assert_not_type(integer, Term)), !.
252252
assert_not_type(Term, number) :- call_protected(\+ number(Term), fail_assert_not_type(number, Term)), !.

0 commit comments

Comments
 (0)