projects
/
gitmo/Moose-Autobox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
remove noisy, stupid Module::Install stuff
[gitmo/Moose-Autobox.git]
/
t
/
003_p6_example.t
diff --git
a/t/003_p6_example.t
b/t/003_p6_example.t
index
054f966
..
bead570
100644
(file)
--- a/
t/003_p6_example.t
+++ b/
t/003_p6_example.t
@@
-37,11
+37,7
@@
This comes from one of the examples in the Pugs distro.
}
}
-{
- package Moose::Autobox::SCALAR;
- use Moose 'with';
- with 'Units::Bytes';
-}
+Moose::Autobox->mixin_additional_role(SCALAR => 'Units::Bytes');
sub testing_bytes {
::dies_ok { 10->bytes } '... cannot do the autoboxing lexically';