projects
/
p5sagit/Try-Tiny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f00a529
)
move use test to BEGIN block
Alex [Mon, 22 Mar 2010 14:14:17 +0000 (17:14 +0300)]
t/given_when.t
patch
|
blob
|
blame
|
history
diff --git
a/t/given_when.t
b/t/given_when.t
index
faee8c4
..
f87945f
100644
(file)
--- a/
t/given_when.t
+++ b/
t/given_when.t
@@
-7,10
+7,9
@@
use Test::More;
BEGIN {
plan skip_all => "Perl 5.10 is required" unless eval { require 5.010 };
+ use_ok("Try::Tiny");
}
-use ok "Try::Tiny";
-
my ( $error, $topic );
given ("foo") {