projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use Test::Requires in recipe tests
[gitmo/Moose.git]
/
lib
/
Moose
/
Cookbook
/
Extending
/
Recipe3.pod
diff --git
a/lib/Moose/Cookbook/Extending/Recipe3.pod
b/lib/Moose/Cookbook/Extending/Recipe3.pod
index
012c185
..
1028a58
100644
(file)
--- a/
lib/Moose/Cookbook/Extending/Recipe3.pod
+++ b/
lib/Moose/Cookbook/Extending/Recipe3.pod
@@
-3,14
+3,9
@@
=begin testing-SETUP
-BEGIN {
- eval 'use Test::Output;';
- if ($@) {
- diag 'Test::Output is required for this test';
- ok(1);
- exit 0;
- }
-}
+use Test::Requires {
+ 'Test::Output' => '0',
+};
=end testing-SETUP