Skip to content

Commit

Permalink
Eliminate bogus test.
Browse files Browse the repository at this point in the history
nqp::numdimensions op is for use on instances only.
  • Loading branch information
jnthn committed Jul 13, 2015
1 parent 3f9c111 commit 5c3771f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions t/moar/02-multidim.t
@@ -1,6 +1,6 @@
#! nqp

plan(188);
plan(187);

sub is-dims(@arr, @expected-dims, $description) {
my $got-dims := nqp::dimensions(@arr);
Expand Down Expand Up @@ -471,7 +471,6 @@ dies-ok({
my $type_out := nqp::scgetobj($dsc, 0);
ok(nqp::reprname($type_out) eq 'MultiDimArray', 'Got a MultiDimArray type serialized/deserialized');
ok(!nqp::isconcrete($type_out), 'It really is a type');
ok(nqp::numdimensions($type_out) == 2, 'Number of dimensions preserved');

# Check we get a 2D array as expected back.
my $value_out := nqp::scgetobj($dsc, 1);
Expand Down

0 comments on commit 5c3771f

Please sign in to comment.