Skip to content

Commit 1be5e48

Browse files
committed
Test MODE_BIGINT with type object
1 parent 8856086 commit 1be5e48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/nqp/071-setboolspec.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use nqpmo;
22

3-
plan(23);
3+
plan(24);
44

55
my $MODE_CALL_METHOD := 0;
66
my $MODE_UNBOX_INT := 1;
@@ -142,6 +142,7 @@ ok(nqp::istrue(Bar) == 0, "setboolspec MODE_NOT_TYPE_OBJECT = 5 works correctly
142142

143143
ok(nqp::istrue($two), 'MODE_BIGINT - 2 is true');
144144
ok(!nqp::istrue($zero), 'MODE_BIGINT - 0 is false');
145+
ok(!nqp::istrue($bignum), 'MODE_BIGINT - type object is false');
145146
}
146147
{
147148
class HasElems {

0 commit comments

Comments
 (0)