Skip to content

Commit

Permalink
Revert "Temporarily comment out tests failing on JVM"
Browse files Browse the repository at this point in the history
This reverts commit 298e228.

Unfudges failing JVM tests
  • Loading branch information
zoffixznet committed Oct 15, 2016
1 parent 223373d commit 3e14289
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions t/qast/01-qast.t
Expand Up @@ -1484,11 +1484,10 @@ test_qast_result(
$closure1().inc;
$closure1().inc;
is($closure1().get, '103', "statevar is shared between calls to a closures");
skip('JVM failure; fudge for release', 3);
# is($closure2().get, '100', "a new closure gets it's own copy of the statevar");
is($closure2().get, '100', "a new closure gets it's own copy of the statevar");
$closure2().inc;
# is($closure2().get, '101', "...that get preserved across calls");
# is($closure1().get, '103', "...and is independent from the first closure");
is($closure2().get, '101', "...that get preserved across calls");
is($closure1().get, '103', "...and is independent from the first closure");
}
);

Expand Down Expand Up @@ -1550,8 +1549,8 @@ test_qast_result(
)
),
-> $r {
skip('JVM failure; fudge for release', 2); # ok(nqp::istype($r, $int_boxer), 'an automatically boxed int is of the correct type');
# ok($r.twice eq '246', '...and it has the correct value');
ok(nqp::istype($r, $int_boxer), 'an automatically boxed int is of the correct type');
ok($r.twice eq '246', '...and it has the correct value');
}
);
}

0 comments on commit 3e14289

Please sign in to comment.