Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fudge new, failing test for read-only attributes
  • Loading branch information
moritz committed Dec 11, 2012
1 parent 1fa9ddf commit 3ac110d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions S06-traits/is-readonly.t
Expand Up @@ -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'
}

Expand Down

0 comments on commit 3ac110d

Please sign in to comment.