Skip to content

Commit 89f0503

Browse files
committed
Make failure tests less specific
1 parent 35b4b43 commit 89f0503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

S11-compunit/compunit-dependencyspecification.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use Test;
33

44
plan 6;
55

6-
throws-like { CompUnit::DependencySpecification.new }, X::Attribute::Required,
7-
throws-like { CompUnit::DependencySpecification.new(:short-name(1)) }, X::TypeCheck::Assignment;
6+
dies-ok { CompUnit::DependencySpecification.new };
7+
dies-ok { CompUnit::DependencySpecification.new(:short-name(1)) };
88
ok my $ds = CompUnit::DependencySpecification.new(:short-name<Foo>);
99
is $ds.version-matcher, True;
1010
is $ds.auth-matcher, True;

0 commit comments

Comments
 (0)