summaryrefslogtreecommitdiff
path: root/t/init.t
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-06-16 06:44:29 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-06-16 06:44:29 +0000
commitf9f3ab3056d94292adb4ab2e1451645bee989769 (patch)
treecc5a62954d359d5aad449420bc7ec259b3edb79e /t/init.t
downloadCGI-tarball-master.tar.gz
Diffstat (limited to 't/init.t')
-rw-r--r--t/init.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/init.t b/t/init.t
new file mode 100644
index 0000000..532a277
--- /dev/null
+++ b/t/init.t
@@ -0,0 +1,13 @@
+#!/usr/bin perl -w
+
+use strict;
+use Test::More tests => 1;
+
+use CGI;
+
+
+$_ = "abcdefghijklmnopq";
+my $IN;
+open ($IN, "t/init_test.txt");
+my $q = CGI->new($IN);
+is($_, 'abcdefghijklmnopq', 'make sure not to clobber $_ on init');