aboutsummaryrefslogtreecommitdiffstats
path: root/test.pl
diff options
context:
space:
mode:
authorTeddy Wing2015-05-31 17:40:32 -0400
committerTeddy Wing2015-05-31 17:40:32 -0400
commit3322a456251b8cbc2e9da93e3f191952347b9f17 (patch)
tree545c84ae139e897d7726dac547cbe940a0f2e3a6 /test.pl
downloadirssi-hipchat-stfu-3322a456251b8cbc2e9da93e3f191952347b9f17.tar.bz2
Initial commit. Learning about Perl testing.
Created a basic test file using `Test::Simple` and this tutorial: http://search.cpan.org/dist/Test-Simple/lib/Test/Tutorial.pod
Diffstat (limited to 'test.pl')
-rwxr-xr-xtest.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/test.pl b/test.pl
new file mode 100755
index 0000000..04aa377
--- /dev/null
+++ b/test.pl
@@ -0,0 +1,8 @@
+#!/usr/bin/env perl -w
+
+use strict;
+
+use Test::Simple tests => 2;
+
+ok( 1 + 1 == 2 );
+ok( 2 + 2 == 5 );