Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #112392: Junction.Str should return a, well, Str
  • Loading branch information
moritz committed Feb 3, 2013
1 parent 865c95f commit b19c74d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S03-junctions/misc.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 102;
plan 103;

=begin pod
Expand Down Expand Up @@ -424,6 +424,9 @@ ok Mu & Mu ~~ Mu, 'Mu & Mu ~~ Mu works';
# RT #109188
ok { a => 1} ~~ List|Hash, 'Can construct junction with List type object';

# RT #112392
ok (1|2).Str ~~ Str, 'Junction.Str returns a Str, not a Junction';

done();

# vim: ft=perl6

0 comments on commit b19c74d

Please sign in to comment.