#!./perl
BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
+ chdir 't' if -d 't';
+ @INC = '../lib';
+ require './test.pl';
}
use strict;
use warnings;
-use Test::More; # test count at bottom of file
use re qw(is_regexp regexp_pattern
regname regnames regnames_count);
{
is(regnames_count(),3);
}
# New tests above this line, don't forget to update the test count below!
-use Test::More tests => 14;
+BEGIN { plan tests => 14 }
# No tests here!