summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-07-07 02:51:45 -0500
committerJesse Luehrs <doy@tozt.net>2011-07-07 02:51:45 -0500
commit0dab6d38d596535a09af16a4feba57358ca67849 (patch)
tree4bf86b089fbff872e305a26acd1fe7d609301746 /t
parent64e93875cecc7af2d630399eb30fdc2e2cbd27e6 (diff)
downloadsmartmatch-engine-rjbs-0dab6d38d596535a09af16a4feba57358ca67849.tar.gz
smartmatch-engine-rjbs-0dab6d38d596535a09af16a4feba57358ca67849.zip
make this actually lexical
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 $@;