Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix some more RAKUDO_DEPRECATIONS_FATAL=1
  • Loading branch information
stmuk committed Jun 30, 2015
1 parent 806ed2b commit 9f658bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion S12-methods/calling_sets.t
Expand Up @@ -168,7 +168,7 @@ class MMT2 is MMT1 {
is MMT2.new.?foo("lol"), 42, '.? when initial multi does not match will find next one up';

{
isa_ok MMT1.new.?nonexistent(), Nil, '.?nonexisent() returns Nil';
isa-ok MMT1.new.?nonexistent(), Nil, '.?nonexisent() returns Nil';
}

eval-dies-ok '1.*WHAT', '.WHAT is a macro and cannoted be .*ed';
Expand Down
6 changes: 3 additions & 3 deletions S16-filehandles/filetest.t
Expand Up @@ -34,11 +34,11 @@ ok $*PROGRAM.IO ~~ :w, "~~:w returns true on writable files";
if $*DISTRO.is-win {
skip "win32 doesn't have ~~:x", 2;
} else {
if $*EXECUTABLE_NAME.IO ~~ :e {
ok $*EXECUTABLE_NAME.IO ~~ :x, "~~:x returns true on executable files";
if $*EXECUTABLE-NAME.IO ~~ :e {
ok $*EXECUTABLE-NAME.IO ~~ :x, "~~:x returns true on executable files";
}
else {
skip "'$*EXECUTABLE_NAME' is not present (interactive mode?)", 1;
skip "'$*EXECUTABLE-NAME' is not present (interactive mode?)", 1;
}
ok 't'.IO ~~ :x, "~~:x returns true on cwd()able directories";
}
Expand Down
10 changes: 5 additions & 5 deletions integration/advent2012-day10.t
Expand Up @@ -99,12 +99,12 @@ END RESULTS
like(qq:!s"It costs $10 to {<eat nom>.pick} here.", /^'It costs $10 to '[eat|nom]' here.'$/), 'quoting features';

is Q{$*OS\n&sin(3)}, q:to"END".chomp;
$*OS\n&sin(3)
is Q{$*DISTRO.name\n&sin(3)}, q:to"END".chomp;
$*DISTRO.name\n&sin(3)
END
like(Q:s{$*OS\n&sin(3)}, /\w+ .*? '\n&sin(3)'/), 'Q:s(...)';
like(Q:s{$*DISTRO.name\n&sin(3)}, /\w+ .*? '\n&sin(3)'/), 'Q:s(...)';

like(Q:s:b{$*OS\n&sin(3)}, /\w+ .*? \n '&sin(3)'/), 'Q:s:b(...)';
like(Q:s:b{$*DISTRO.name\n&sin(3)}, /\w+ .*? \n '&sin(3)'/), 'Q:s:b(...)';

like(Q:s:b:f{$*OS\n&sin(3)}, /\w+ .*? \n '0.14112'\d+$/), 'Q:s:b:f(...)';
like(Q:s:b:f{$*DISTRO.name\n&sin(3)}, /\w+ .*? \n '0.14112'\d+$/), 'Q:s:b:f(...)';

0 comments on commit 9f658bf

Please sign in to comment.