Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Oct 3, 2024
1 parent fcb4e1c commit 61bf6c1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion t/util.t
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ use Test::More;
use Test::NoWarnings;

BEGIN {
plan tests => 45 +
plan tests => 47 +
((scalar @NODE_ID_TESTS) * 3) +
scalar @STRIP_FILENAME_FROM_EXCEPTIONS_TESTS +
scalar @INVALID_DATES +
Expand Down Expand Up @@ -503,6 +503,11 @@ for my $test (@MAC2DEC) {
is(extract('[[email protected]](mailto:[email protected])','@(\w+)','$1.VLAN'), "staff.VLAN")
}

{
ok(starts_with("dog", "do"), "starts_with");
ok(!starts_with("cat", "do"), "starts_with");
}

=head1 AUTHOR
Inverse inc. <[email protected]>
Expand Down

0 comments on commit 61bf6c1

Please sign in to comment.