Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Unfudge ro-assignment error tests for JVM.
  • Loading branch information
jnthn committed Sep 25, 2013
1 parent 2511217 commit edbad65
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion S04-declarations/constant.t
Expand Up @@ -171,7 +171,6 @@ use Test;
$ok++ if $!;
$ok++ if grtz == 42;

#?rakudo.jvm todo "nigh"
is $ok, 3, "a constant declared using 'constant' is actually constant (1)";
}

Expand Down
5 changes: 0 additions & 5 deletions S32-exceptions/misc.t
Expand Up @@ -267,16 +267,11 @@ throws_like 'sub f() returns Str { 5 }; f', X::TypeCheck::Return, got => Int, ex
throws_like 'my Int $x = "foo"', X::TypeCheck::Assignment, got => 'foo',
expected => Int, symbol => '$x';

#?rakudo.jvm skip "wrong exception type"
throws_like 'sub f() { }; f() = 3', X::Assignment::RO;
#?rakudo.jvm skip "wrong exception type"
throws_like '1.0 = 3', X::Assignment::RO;
# RT #113534
#?rakudo.jvm skip "wrong exception type"
throws_like '120 = 3', X::Assignment::RO;
#?rakudo.jvm skip "wrong exception type"
throws_like '1e0 = 3', X::Assignment::RO;
#?rakudo.jvm skip "wrong exception type"
throws_like '"a" = 3', X::Assignment::RO;

throws_like '1.foo', X::Method::NotFound, method => 'foo', typename => 'Int';
Expand Down

0 comments on commit edbad65

Please sign in to comment.