]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - t/usage/basic.pm
Order the test subdirectories
[perl/modules/re-engine-Plugin.git] / t / usage / basic.pm
diff --git a/t/usage/basic.pm b/t/usage/basic.pm
deleted file mode 100644 (file)
index 80add8b..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-package basic;
-use strict;
-
-# Note the (), doesn't call ->import
-use re::engine::Plugin ();
-
-sub import {
-    # Populates %^H with re::engine::Plugin hooks
-    re::engine::Plugin->import(
-        exec => \&exec,
-    );
-}
-
-*unimport = \&re::engine::Plugin::unimport;
-
-sub exec
-{
-    my ($re, $str) = @_;
-
-    $re->num_captures(
-        FETCH => sub {
-            my ($re, $paren) = @_;
-
-            $str . "_" . $paren;
-        }
-    );
-
-    1;
-}
-
-1;