Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test nqp::assignunchecked op.
  • Loading branch information
jnthn committed Mar 19, 2013
1 parent 335e5c9 commit 92f47c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/nqp/67-container.t
@@ -1,4 +1,4 @@
plan(4);
plan(5);

# code_pair container spec
{
Expand All @@ -21,4 +21,7 @@ plan(4);
ok(nqp::decont($cont) == 101, 'assigned value stuck');

ok($value == 101, 'updated captured value also');

nqp::assignunchecked($cont, 69);
ok(nqp::decont($cont) == 69, 'assignunchecked value stuck');
}

0 comments on commit 92f47c4

Please sign in to comment.