diff options
Diffstat (limited to 'ext/XS/APItest/t/exception.t')
-rw-r--r-- | ext/XS/APItest/t/exception.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/XS/APItest/t/exception.t b/ext/XS/APItest/t/exception.t index dc6d3246d6..2ac7132b63 100644 --- a/ext/XS/APItest/t/exception.t +++ b/ext/XS/APItest/t/exception.t @@ -19,7 +19,7 @@ my $rv; $XS::APItest::exception_caught = undef; -$rv = eval { exception(0) }; +$rv = eval { apitest_exception(0) }; is($@, ''); ok(defined $rv); is($rv, 42); @@ -27,7 +27,7 @@ is($XS::APItest::exception_caught, 0); $XS::APItest::exception_caught = undef; -$rv = eval { exception(1) }; +$rv = eval { apitest_exception(1) }; is($@, "boo\n"); ok(not defined $rv); is($XS::APItest::exception_caught, 1); |