projects
/
p5sagit/Devel-Declare.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add strict and warnings
[p5sagit/Devel-Declare.git]
/
t
/
methinstaller-simple.t
diff --git
a/t/methinstaller-simple.t
b/t/methinstaller-simple.t
index
6e082e0
..
6d5158c
100644
(file)
--- a/
t/methinstaller-simple.t
+++ b/
t/methinstaller-simple.t
@@
-1,7
+1,6
@@
-#!/usr/bin/perl -w
-
use strict;
-use Test::More 'no_plan';
+use warnings;
+use Test::More;
my $Have_Devel_BeginLift;
BEGIN {
@@
-124,3
+123,4
@@
is($o->$test_method2('this'), 'DeclareTest2, this', 'anon method with proto ok')
is_deeply([ map { $_->() } @test_list ], [ 1, 2, 3, 4], 'binding ok');
+done_testing;