diff options
Diffstat (limited to 't/noimport-register_plugins.t')
-rw-r--r-- | t/noimport-register_plugins.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/t/noimport-register_plugins.t b/t/noimport-register_plugins.t new file mode 100644 index 0000000..de2c669 --- /dev/null +++ b/t/noimport-register_plugins.t @@ -0,0 +1,13 @@ +#!perl -w + +use Data::Compare (); +Data::Compare->register_plugins(); + +print "1..1\n"; + +my $test = 0; + +# and now there should be plugins + +print "not " if(Data::Compare::Compare({}, Data::Compare::plugins())); +print 'ok '.(++$test)." plugins available in no-import mode if explicitly asked for\n"; |