From c2ce754d595f5c0eef5f858477cf65c9832611ca Mon Sep 17 00:00:00 2001 From: Jens Luedicke Date: Sun, 10 Mar 2013 15:47:05 +0100 Subject: [PATCH] M: Minor unit-test tweaks. --- t/1.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/t/1.t b/t/1.t index 73b5322..5852ff8 100644 --- a/t/1.t +++ b/t/1.t @@ -1,12 +1,11 @@ -use Test::More qw(no_plan); +use Test::More tests => 29; use Test::Exception; BEGIN { use_ok( 'File::DirWalk' ); } require_ok( 'File::DirWalk' ); $dw = new File::DirWalk(); - -ok( ref($dw) eq 'File::DirWalk' ); +is(ref($dw), 'File::DirWalk' ); is ($dw->getDepth(), 0); dies_ok { $dw->setDepth(-1) };