projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add tests for last and next in when()
[p5sagit/p5-mst-13.2.git]
/
t
/
op
/
sleep.t
diff --git
a/t/op/sleep.t
b/t/op/sleep.t
index
c2684ad
..
3f5bbe0
100755
(executable)
--- a/
t/op/sleep.t
+++ b/
t/op/sleep.t
@@
-1,8
+1,15
@@
#!./perl
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = qw(. ../lib);
+}
+
+require "test.pl";
+plan( tests => 4 );
+
use strict;
use warnings;
-use Test::More tests=>4;
my $start = time;
my $sleep_says = sleep 3;