Permalink
Browse files

fudge new, failing test for read-only attributes

  • Loading branch information...
1 parent 1fa9ddf commit 3ac110d110e7fe8216317aa9ceb52bb3581372dc @moritz moritz committed Dec 11, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 S06-traits/is-readonly.t
View
@@ -62,6 +62,7 @@ plan 14;
method set-attr($val) { $!attr = $val }
}
is C.new.get-attr, 71356, 'can read from readonly private attributes';
+ #?rakudo todo 'readonly attributes'
dies_ok { my $c = C.new; $c.set-attr: 99; }, 'cannot assign to readonly private attribute'
}

0 comments on commit 3ac110d

Please sign in to comment.