Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/perl6/roast
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Oct 2, 2014
2 parents 8f1def5 + 54b2715 commit c7afefb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S12-attributes/clone.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 34;
plan 35;

# L<S12/Cloning/You can clone an object, changing some of the attributes:>
class Foo {
Expand Down Expand Up @@ -138,4 +138,6 @@ is($val2, 42, '... cloned object has proper attr value');
is_deeply $cont.obj.arr, ['j', 'k', 'l'], 'original object has new value';
}

lives_ok { Int.clone }, 'cloning a type object does not explode';

# vim: ft=perl6

0 comments on commit c7afefb

Please sign in to comment.