projects
/
gitmo/Role-Tiny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
865241e
)
clean up test output for long package names
Graham Knop [Mon, 24 Feb 2014 00:03:59 +0000 (19:03 -0500)]
t/role-long-package-name.t
patch
|
blob
|
blame
|
history
diff --git
a/t/role-long-package-name.t
b/t/role-long-package-name.t
index
a103498
..
811758c
100644
(file)
--- a/
t/role-long-package-name.t
+++ b/
t/role-long-package-name.t
@@
-35,8
+35,8
@@
for (qw(
}
my $pkg = ref $foo;
-note $pkg;
eval "package $pkg;";
-ok(!$@) or diag $@;
+is $@, '', 'package name usable by perl'
+ or diag "package: $pkg";
done_testing;