Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix fallout of Nil.gist change
  • Loading branch information
lizmat committed Oct 30, 2015
1 parent a36a534 commit 4cfd974
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion S02-types/nil.t
Expand Up @@ -56,7 +56,7 @@ ok (my $rt93980 = Nil) === Any, 'Nil assigned to scalar produces an Any'; #OK

ok (my Str $str93980 = Nil) === Str; #OK

is Nil.gist, 'Nil', 'Nil.gist eq "Nil"';
is Nil.gist, '(Nil)', 'Nil.gist eq "Nil"';
ok !Nil.new.defined, 'Nil.new is not defined';

{
Expand Down
2 changes: 1 addition & 1 deletion S02-types/pair.t
Expand Up @@ -352,7 +352,7 @@ Note, "non-chaining binary" was later renamed to "structural infix".
}

{
is ((Nil) => Nil).gist, 'Nil => Nil', "both key and value can convey a raw Nil";
is ((Nil) => Nil).gist, '(Nil) => (Nil)', "both key and value can convey a raw Nil";
is ((Mu) => Mu).gist, '(Mu) => (Mu)', "both key and value can convey a Mu type";
is ((Any) => Any).gist, '(Any) => (Any)', "both key and value can convey an Any type";
is ((Junction) => Junction).gist, '(Junction) => (Junction)', "both key and value can convey a Junction type";
Expand Down
4 changes: 2 additions & 2 deletions S03-junctions/misc.t
Expand Up @@ -413,7 +413,7 @@ ok Mu & Mu ~~ Mu, 'Mu & Mu ~~ Mu works';
'regex match in all junction is an empty all junction (3)';
is (all() ~~ /bll/).gist, 'all()',
'regex match in all junction is an empty all junction (4)';
is (any("4","5") ~~ /4/).gist, 'any(「4」, Nil)',
is (any("4","5") ~~ /4/).gist, 'any(「4」, (Nil))',
'successful regex match in any junction';
}

Expand All @@ -425,7 +425,7 @@ ok Mu & Mu ~~ Mu, 'Mu & Mu ~~ Mu works';

# RT #120992
{
is (all("a","b") ~~ /a/).gist, 'all(「a」, Nil)',
is (all("a","b") ~~ /a/).gist, 'all(「a」, (Nil))',
'successful regex match in all junction if one element does not match';
}

Expand Down
4 changes: 2 additions & 2 deletions S03-metaops/reduce.t
Expand Up @@ -320,10 +320,10 @@ is( ([min] Any, Any, 2), 2, '[min] Any, Any, 2 returns 2');
#?niecza skip '^^'
{
is ([\^^] False, 0, 5, '', False, 16, 0, Any, "hello", False).gist,
'(False 0 5 5 5 Nil Nil Nil Nil Nil)',
'(False 0 5 5 5 (Nil) (Nil) (Nil) (Nil) (Nil))',
'[\^^]';
is ([\xor] 'xyzzy', Int, 0.0, '', False, 'plugh', 4, 2, 'xyzzy').gist,
'(xyzzy xyzzy xyzzy xyzzy xyzzy Nil Nil Nil Nil)',
'(xyzzy xyzzy xyzzy xyzzy xyzzy (Nil) (Nil) (Nil) (Nil))',
'[\xor]';
}

Expand Down

0 comments on commit 4cfd974

Please sign in to comment.