summaryrefslogtreecommitdiffstats
path: root/t/lib/02
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/02')
-rw-r--r--t/lib/02/Broken.pm3
-rw-r--r--t/lib/02/Foo/Conflicts/Broken.pm11
-rw-r--r--t/lib/02/Foo/Conflicts/Good.pm1
3 files changed, 15 insertions, 0 deletions
diff --git a/t/lib/02/Broken.pm b/t/lib/02/Broken.pm
new file mode 100644
index 0000000..de400c3
--- /dev/null
+++ b/t/lib/02/Broken.pm
@@ -0,0 +1,3 @@
+package Broken;
+
+die 'this module is utterly broken';
diff --git a/t/lib/02/Foo/Conflicts/Broken.pm b/t/lib/02/Foo/Conflicts/Broken.pm
new file mode 100644
index 0000000..87043ae
--- /dev/null
+++ b/t/lib/02/Foo/Conflicts/Broken.pm
@@ -0,0 +1,11 @@
+package Foo::Conflicts::Broken;
+use strict;
+use warnings;
+
+use Dist::CheckConflicts
+ -conflicts => {
+ 'Broken' => '0.03',
+ 'NotInstalled' => '0.01',
+ };
+
+1;
diff --git a/t/lib/02/Foo/Conflicts/Good.pm b/t/lib/02/Foo/Conflicts/Good.pm
index f40a955..33d15de 100644
--- a/t/lib/02/Foo/Conflicts/Good.pm
+++ b/t/lib/02/Foo/Conflicts/Good.pm
@@ -7,6 +7,7 @@ use Dist::CheckConflicts
'Foo' => 0.01,
'Foo::Two' => 0.01,
'Foo::Three' => 0.01,
+ 'NotInstalled' => '0.01',
};
1;