From 93fb77c98e002f21858fe9efa1bf6a8ce2144178 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 7 Jul 2011 00:32:38 -0500 Subject: oops, need a new ref to the cv for each op --- t/basic.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') 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; -- cgit v1.2.3-54-g00ecf