Skip to content

Commit

Permalink
Test nqp::istrue on a serialization context
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Apr 23, 2017
1 parent 6519d68 commit c49e4a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/serialization/01-basic.t
@@ -1,9 +1,10 @@
#! nqp

plan(1508);
plan(1509);

{
my $sc := nqp::createsc('exampleHandle');
is(nqp::istrue($sc), 1, 'sc works with istrue');
ok(nqp::scsetdesc($sc, "foobar") eq 'foobar', 'scsetdesc has correct return value');
ok(nqp::scgetdesc($sc) eq 'foobar', 'scgetdesc');
ok(nqp::scgethandle($sc) eq 'exampleHandle', 'scgethandle');
Expand Down

0 comments on commit c49e4a3

Please sign in to comment.