Browse files

niecza fudge

  • Loading branch information...
1 parent fe3a0da commit 5c64ac0106e892515ac9ba6884f168cdd005d7a4 @coke coke committed Sep 14, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −0 S06-multi/proto.t
  2. +1 −2 S06-operator-overloading/sub.t
View
1 S06-multi/proto.t
@@ -98,6 +98,7 @@ eval_dies_ok 'proto rt68242($a){};proto rt68242($c,$d){};',
is Cont::ainer(21), 42, 'our proto can be accessed from the ouside';
}
+#?niecza skip 'Unhandled exception: Cannot use value like Block as a number'
{
my proto f($) {
2 * {*} + 5
View
3 S06-operator-overloading/sub.t
@@ -210,6 +210,7 @@ Testing operator overloading subroutines
# here is one that co-erces a MyClass into a Str and a Num.
#?rakudo skip 'prefix:<~> method'
+#?niecza skip 'import NYI'
{
class OtherClass {
has $.x is rw;
@@ -229,10 +230,8 @@ Testing operator overloading subroutines
my $obj;
lives_ok { $obj = MyClass.new }, "instantiation of a prefix:<...> and infix:<as> overloading class worked";
lives_ok { ~$obj }, "our object can be stringified";
- #?niecza todo
is ~$obj, "hi", "our object was stringified correctly";
#?pugs todo 'feature'
- #?niecza skip 'Two terms in a row'
is eval('($obj as OtherClass).x'), 23, "our object was coerced correctly";
}

0 comments on commit 5c64ac0

Please sign in to comment.