Skip to content

Commit

Permalink
Add tests for RT#93978
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Jul 10, 2015
1 parent e26327b commit 99a57ae
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion S03-operators/misc.t
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Test;
Tests for Synopsis 3
=end kwid

plan 36;
plan 38;

my $str1 = "foo";
my $str2 = "bar";
Expand Down Expand Up @@ -125,4 +125,12 @@ is (2 Z 3), @z, 'joining of single items';
"~~!~~ fails to parse (RT #76436)";
}

# comparison complains if either of its arguments is undefined - RT #93978
{
throws-like {Int < 0}, X::AdHoc;
#?rakudo todo "RT #93978"
throws-like {"cat" gt Str}, X::AdHoc;
}


# vim: ft=perl6

0 comments on commit 99a57ae

Please sign in to comment.