summaryrefslogtreecommitdiff
path: root/Examples/test-suite/perl5/using2_runme.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/perl5/using2_runme.pl')
-rwxr-xr-xExamples/test-suite/perl5/using2_runme.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/test-suite/perl5/using2_runme.pl b/Examples/test-suite/perl5/using2_runme.pl
new file mode 100755
index 0000000..3a31bb3
--- /dev/null
+++ b/Examples/test-suite/perl5/using2_runme.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+use Test::More tests => 3;
+BEGIN { use_ok('using2') }
+require_ok('using2');
+
+# adapted from ../python/using2_runme.py
+
+is(using2::spam(37), 37);