summaryrefslogtreecommitdiffstats
path: root/t/exporter.t
diff options
context:
space:
mode:
Diffstat (limited to 't/exporter.t')
-rw-r--r--t/exporter.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/exporter.t b/t/exporter.t
new file mode 100644
index 0000000..da39d6a
--- /dev/null
+++ b/t/exporter.t
@@ -0,0 +1,16 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+use lib 't/lib';
+
+sub foo { 'foo' }
+
+is(foo(), "foo");
+{
+ use Foo;
+ is(foo(), "FOO");
+}
+is(foo(), "foo");
+
+done_testing;