--- trunk/t/3-normalize.t 2007/10/31 00:26:43 923 +++ trunk/t/3-normalize.t 2007/11/01 00:16:48 949 @@ -1,25 +1,15 @@ #!/usr/bin/perl -w use strict; +use blib; use Test::More tests => 347; -use Test::Exception; -use Cwd qw/abs_path/; -use blib; -use File::Slurp; -use Getopt::Long; BEGIN { + use_ok( 'WebPAC::Test' ); use_ok( 'WebPAC::Normalize' ); } -use Data::Dump qw/dump/; - -my $debug = 0; -GetOptions( - "debug+", \$debug -); - cmp_ok(_debug(1), '==', 1, '_debug level'); cmp_ok(_debug(0), '==', 0, '_debug level'); @@ -28,10 +18,6 @@ diag "debug level for WebPAC::Normalize is ", _debug( $debug - 2 ); } -ok(my $abs_path = abs_path($0), "abs_path"); -$abs_path =~ s#/[^/]*$#/#; -diag "abs_path: $abs_path" if ($debug); - my $rec1 = { '200' => [{ 'a' => '200a',