Permalink
Browse files

Fix a test that used KnowHOW incorrectly.

  • Loading branch information...
jnthn committed Feb 9, 2013
1 parent 7ec2668 commit 9c09d9204ab2fe283f8c89400811c539d2899de1
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/nqp/60-bigint.t
View
@@ -39,10 +39,11 @@ ok(iseq(nqp::bitand_I(nqp::fromstr_I('-1073741825', $one), $one, $one), 1),
'Bit ops (RT 109740)');
# Now we'll create a type that boxes a P6bigint.
-my $bi_boxer := $knowhow.new_type(:name('TestPerl6Int'), :repr('P6opaque'));
+my $bi_boxer := NQPClassHOW.new_type(:name('TestPerl6Int'), :repr('P6opaque'));
$bi_boxer.HOW.add_attribute($bi_boxer, NQPAttribute.new(
:name('$!value'), :type($bi_type), :box_target(1)
));
+$bi_boxer.HOW.add_parent($bi_boxer, NQPMu);
$bi_boxer.HOW.compose($bi_boxer);
# Try some basic operations with it.

0 comments on commit 9c09d92

Please sign in to comment.