summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/core.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/core.t b/t/core.t
index 81b2ac7..69c0942 100644
--- a/t/core.t
+++ b/t/core.t
@@ -86,10 +86,10 @@ while (<DATA>) {
test_again:
my $res;
if ($note =~ /NOWARNINGS/) {
- $res = eval "use smartmatch 'core'; no warnings; $tstr";
+ $res = eval "no warnings; $tstr";
}
else {
- $res = eval "use smartmatch 'core'; $tstr";
+ $res = eval $tstr;
}
chomp $@;