X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F008_formula.t;h=a85b030dbbeb7e82eca6da01b60d5a7b3dba91e7;hb=c11fa570a52d9613e40c4c80e22302c2a5caca70;hp=6ff878f2a16bae444c20a076cd9271786b99a741;hpb=6dd4c89d686d215eb0de41e8a2f7805bfc7eb188;p=p5sagit%2FExcel-Template.git diff --git a/t/008_formula.t b/t/008_formula.t index 6ff878f..a85b030 100644 --- a/t/008_formula.t +++ b/t/008_formula.t @@ -4,7 +4,7 @@ use Test::More tests => 4; use lib 't'; use mock; -mock->reset; +mock::reset; my $CLASS = 'Excel::Template'; use_ok( $CLASS ); @@ -16,7 +16,7 @@ isa_ok( $object, $CLASS ); 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( '' )