summaryrefslogtreecommitdiff
path: root/t/noimport.t
diff options
context:
space:
mode:
Diffstat (limited to 't/noimport.t')
-rw-r--r--t/noimport.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/noimport.t b/t/noimport.t
new file mode 100644
index 0000000..f752e11
--- /dev/null
+++ b/t/noimport.t
@@ -0,0 +1,11 @@
+#!perl -w
+
+use Data::Compare ();
+print "1..1\n";
+
+my $test = 0;
+
+# in no-import mode there should be no plugins
+
+print "not " unless(Data::Compare::Compare({}, Data::Compare::plugins()));
+print 'ok '.(++$test)." plugins disabled in no-import mode\n";