public
Created

  • Download Gist
001_basics.t
Perl
1 2 3 4 5 6 7 8 9
use 5.014;
use Test::Most;
use FindBin '$Bin';
use lib "$Bin/lib";
use Bar;
 
pass 'hello';
 
done_testing;
Bar.pm
Perl
1 2 3
package Bar;
use 5.014;
1;
gistfile1.txt
1 2 3 4 5 6 7 8
$ prove -lrv t/
t/001_basics.t ..
ok 1 - hello
1..1
ok
All tests successful.
Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.04 cusr 0.00 csys = 0.06 CPU)
Result: PASS

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.