]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - t/20-methods/free.t
Order the test subdirectories
[perl/modules/re-engine-Plugin.git] / t / 20-methods / free.t
diff --git a/t/20-methods/free.t b/t/20-methods/free.t
new file mode 100644 (file)
index 0000000..61c5dff
--- /dev/null
@@ -0,0 +1,18 @@
+=pod
+
+Test the C<free> method
+
+=cut
+
+use strict;
+use Test::More skip_all => "Doesn't work currently (where did my scope go?!)";
+
+use re::engine::Plugin (
+    comp => sub {
+        my ($re) = @_;
+
+        $re->free( sub { pass "ran free" } );
+    }
+);
+
+"str" ~~ /pattern/;