Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
adding fudged test for RT#121909
This is currently breaking date/time calculations on parrot
  • Loading branch information
dwarring committed May 19, 2014
1 parent 6fac9f4 commit 228e9b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S03-operators/numeric-shift.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 36;
plan 37;

sub check ($a, $b, $ls, $rs) {
is $a * 2**$b, $ls, "expected value for shl $a by $b is sane";
Expand All @@ -28,4 +28,8 @@ check -15, 3, -120, -2;
check -16, 3, -128, -2;
check -17, 3, -136, -3;

#?rakudo.parrot todo 'RT121909 - giving wrong result'
my int $t = 10;
is (2 * $t) + ($t +> 2), 22;

done;

0 comments on commit 228e9b3

Please sign in to comment.