t/run/switchx.t: Add descriptions to tests lacking them.
authorJames E Keenan <jkeenan@cpan.org>
Sat, 17 Nov 2012 18:40:44 +0000 (12:40 -0600)
committerJames E Keenan <jkeenan@cpan.org>
Fri, 30 Nov 2012 02:00:32 +0000 (21:00 -0500)
The tests which lacked descriptions are in sample files used by the test file.
Better description as suggested by Lukas Mai.

For: RT #115782

t/run/switchx.aux
t/run/switchx2.aux

index 0db6103..b59df4a 100644 (file)
@@ -19,9 +19,9 @@ still not perl
 
 print "1..7";
 if (-f 'run/switchx.aux') {
-    print "ok 1";
+    print "ok 1 - Test file exists";
 }
-print "ok 2";
+print "ok 2 - Test file utilized";
 # other tests are in switchx2.aux
 
 __END__
index c1fb6ee..6d54a2d 100644 (file)
@@ -21,10 +21,10 @@ if [[ -z $FOO ]]; then echo 'not ok 1'; fi
 # These lines get executed
 my $test = $ARGV[0];
 if (-f 'switchx.t') {
-    print("ok $test");
+    print("ok $test - perl -l option tested");
 }
 $test++;
-print "ok $test";
+print "ok $test - Second test file utilized";
 
 __END__