X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F011_conditional.t;h=19b3d0c13c99c65f528db3e5f3873071595966d5;hb=c11fa570a52d9613e40c4c80e22302c2a5caca70;hp=d4ca0640ecc7708c0cdb1aa6c2cc4a25bb7b966f;hpb=6dd4c89d686d215eb0de41e8a2f7805bfc7eb188;p=p5sagit%2FExcel-Template.git diff --git a/t/011_conditional.t b/t/011_conditional.t index d4ca064..19b3d0c 100644 --- a/t/011_conditional.t +++ b/t/011_conditional.t @@ -4,7 +4,7 @@ use Test::More tests => 5; use lib 't'; use mock; -mock->reset; +mock::reset; my $CLASS = 'Excel::Template'; use_ok( $CLASS ); @@ -28,7 +28,7 @@ ok( ok( $object->write_file( 'filename' ), 'Something returned' ); -my @calls = mock->get_calls; +my @calls = mock::get_calls; is( join( $/, @calls, '' ), <<__END_EXPECTED__, 'Calls match up' ); Spreadsheet::WriteExcel::new( 'filename' ) Spreadsheet::WriteExcel::add_format( '' )