Permalink
Browse files

Slightly inelegant but working fix for rosettacode tests on Windows.

  • Loading branch information...
1 parent de96bae commit bb17bbe0d1405f4f9b33c775494e925a8b004ca0 @jnthn jnthn committed Sep 15, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 rosettacode/greatest_element_of_a_list.t
  2. +1 −1 rosettacode/sierpinski_triangle.t
View
2 rosettacode/greatest_element_of_a_list.t
@@ -34,4 +34,4 @@ my
";
$*OUT = $oldOUT;
-is($output, $expected, "Greatest element of a list");
+is($output.subst("\r", '', :g), $expected.subst("\r", '', :g), "Greatest element of a list");
View
2 rosettacode/sierpinski_triangle.t
@@ -52,4 +52,4 @@ my $expected = " *
";
$*OUT = $oldOUT;
-is($output, $expected, "Sierpinski Triangle");
+is($output.subst("\r", '', :g), $expected.subst("\r", '', :g), "Sierpinski Triangle");

0 comments on commit bb17bbe

Please sign in to comment.