Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Check for the correct class instead of a nonexisting one (which ends …
…up being a check against NQPMu).
  • Loading branch information
pmurias committed Oct 6, 2015
1 parent a061c8f commit 0e78cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/serialization/01-basic.t
Expand Up @@ -419,7 +419,7 @@ sub round_trip_int_array($seq, $desc, @a) {
my $dsc := nqp::createsc($seq ~ '_OUT');
nqp::deserialize($serialized, $dsc, $sh, nqp::list(), nqp::null());

ok(nqp::istype(nqp::scgetobj($dsc, 0), Array), $desc ~ 'deserialized object has correct type');
ok(nqp::istype(nqp::scgetobj($dsc, 0), T12), $desc ~ 'deserialized object has correct type');
my $j := 0;
my @b := nqp::scgetobj($dsc, 0).get_a();
ok(nqp::elems(@b) == $elems, $desc ~ 'array came back with correct element count');
Expand Down

0 comments on commit 0e78cd7

Please sign in to comment.