Skip to content

Commit

Permalink
Add more coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Dec 20, 2024
1 parent c7d1baa commit bc19134
Showing 1 changed file with 51 additions and 1 deletion.
52 changes: 51 additions & 1 deletion t/boolean.t
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use Test::More;
use lib 't';
use Util;

plan tests => 90;
plan tests => 104;

prep_environment();

Expand Down Expand Up @@ -103,6 +103,56 @@ NOT: {
'Little Shop of Horrors',
]
);

_movies_are(
[qw( Murray --not Ramis --not Martin )],
[
'Caddyshack',
'Groundhog Day',
]
);

_movies_are(
[qw( Murray --not Martin --not Ramis )],
[
'Caddyshack',
'Groundhog Day',
]
);

_movies_are(
[qw( Murray --not Martin --not Ramis --not Chase )],
[
'Groundhog Day',
]
);

_movies_are(
[qw( Murray --not Martin --not Ramis --not Chase --not Elliott )],
[]
);

_movies_are(
[qw( Ramis --not Murray )],
[]
);

# Do some --not that aren't there.
_movies_are(
[qw( Murray --not Cher )],
[
'Caddyshack',
'Ghostbusters',
'Groundhog Day',
'Little Shop of Horrors',
'Stripes',
]
);

_movies_are(
[qw( Cher --not Murray )],
[]
);
}


Expand Down

0 comments on commit bc19134

Please sign in to comment.