Skip to content

Commit

Permalink
Make test a bit more reliable
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Dec 30, 2013
1 parent b56e374 commit f3d506e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-exceptions/misc.t
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ 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';

throws_like 'sub f() { }; f() = 3', X::Assignment::RO;
throws_like 'sub f() { 42 }; f() = 3', X::Assignment::RO;
throws_like '1.0 = 3', X::Assignment::RO;
# RT #113534
throws_like '120 = 3', X::Assignment::RO;
Expand Down

0 comments on commit f3d506e

Please sign in to comment.