Browse files

pugs fudge (new tests)

  • Loading branch information...
1 parent 3b41fee commit 395bd85bf3fb92692a73be2e7889c78766c9e9ed @coke coke committed Apr 11, 2012
Showing with 3 additions and 0 deletions.
  1. +1 −0 S02-types/flattening.t
  2. +1 −0 S06-macros/macros-d1.t
  3. +1 −0 S06-signature/arity.t
View
1 S02-types/flattening.t
@@ -91,6 +91,7 @@ plan 37;
}
# RT #112362
+#?pugs skip 'parsefail'
{
my @a = <a b c d e f>;
is @a[[3, 4], 0,], 'c a', '[] in array slice numifies (1)';
View
1 S06-macros/macros-d1.t
@@ -114,6 +114,7 @@ plan 12;
}
#?rakudo skip 'Null PMC access'
+#?pugs skip 'Nil'
{
macro funny_nil { quasi { {;}() } }
is funny_nil(), Nil, 'Nil from an empty block turns into no code';
View
1 S06-signature/arity.t
@@ -146,6 +146,7 @@ dies_ok { eval("a_zero( 'hello', 'world' )") }, 'no matching sub signature';
}
# RT #111646
+#?pugs 2 skip '.count'
is (-> *@a { }).count, Inf, 'slurpy positional causes infinite count';
is (-> *%a { }).count, 0, 'slurpy named causes no count change';

0 comments on commit 395bd85

Please sign in to comment.