summaryrefslogtreecommitdiffstats
path: root/t/basic.t
diff options
context:
space:
mode:
Diffstat (limited to 't/basic.t')
-rw-r--r--t/basic.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/basic.t b/t/basic.t
index 1de7d8f..421623a 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -12,9 +12,9 @@ ok(1 ~~ 1);
ok(1 ~~ 1);
{
- use smartmatch 'core';
- ok(1 ~~ 1);
- ok(!(1 ~~ 2));
+ use smartmatch 'rjbs';
+ ok([] ~~ qr/ARRAY/);
+ ok(!(1 ~~ sub { 0 }));
}
done_testing;