summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-07-07 00:32:38 -0500
committerJesse Luehrs <doy@tozt.net>2011-07-07 00:32:38 -0500
commit93fb77c98e002f21858fe9efa1bf6a8ce2144178 (patch)
treef7a0d259f6b8ad990c46f991f82e2aafd8280e93 /t
parentd46ca6eacf7d512ac6d20dda977a4a33f9d4717c (diff)
downloadsmartmatch-engine-core-93fb77c98e002f21858fe9efa1bf6a8ce2144178.tar.gz
smartmatch-engine-core-93fb77c98e002f21858fe9efa1bf6a8ce2144178.zip
oops, need a new ref to the cv for each op
Diffstat (limited to 't')
-rw-r--r--t/basic.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/basic.t b/t/basic.t
index b7010e2..1de7d8f 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -7,12 +7,14 @@ ok(1 ~~ 1);
{
use smartmatch sub { 0 };
ok(!(1 ~~ 1));
+ ok(!(1 ~~ 2));
}
ok(1 ~~ 1);
{
use smartmatch 'core';
ok(1 ~~ 1);
+ ok(!(1 ~~ 2));
}
done_testing;