Permalink
Browse files

niecza fudge

  • Loading branch information...
1 parent aa40a29 commit 2c74a240a5e051e6fec8abe690e55ac676f862be @coke coke committed Dec 4, 2012
Showing with 7 additions and 1 deletion.
  1. +2 −0 S12-enums/non-int.t
  2. +2 −0 S12-methods/accessors.t
  3. +3 −1 S16-io/print.t
View
@@ -12,9 +12,11 @@ eval_dies_ok 'my enum B (a => 1, b => "bar")',
'mixed type enums are forbidden';
#?rakudo todo 'NYI'
+#?niecza todo
eval_lives_ok 'my Cool enum C (a => 1, b => "bar")',
'... unles that type covers both enum value types';
+#?niecza todo
eval_dies_ok 'my Str enum D (a => 1)',
'violating an explict type constraint dies';
View
@@ -57,8 +57,10 @@ is $a.test-hash-a, 2, '%.a contextualizes as hash';
$o.Parent::x = 5;
is $o.parent-x, 5, 'parent attribute is separate from child attribute of the same name (parent)';
#?pugs todo
+ #?niecza todo
is $o.child-x, 42, 'parent attribute is separate from child attribute of the same name (child)';
#?pugs todo
+ #?niecza todo
is $o.x, 42, '.accessor returns that of the child';
}
View
@@ -41,8 +41,10 @@ print "1..12\n";
{
#?niecza emit #
print $*OUT: 'ok 7 - print with $*OUT: as filehandle' ~ "\n";
- #?niecza emit print "not ok 7 # TODO\nnot ok 8 # TODO" #
+ #?niecza emit #
say $*OUT: 'ok 8 - say with $*OUT: as filehandle';
+ #?niecza emit print "not ok 7 # TODO\n";
+ #?niecza emit print "not ok 8 # TODO\n";
}
{

0 comments on commit 2c74a24

Please sign in to comment.