summaryrefslogtreecommitdiffstats
path: root/t/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-11-21 22:59:21 -0600
committerJesse Luehrs <doy@tozt.net>2010-11-21 22:59:21 -0600
commit24b5fa4102f9959b4be48abd3c7c007e30f0bd8a (patch)
tree759be52557bdaf7bb08dab11b14cf287cbd649b2 /t/lib
parent9e1c45cd07ca60274032080ebbbf2d6bdf114a41 (diff)
downloaddist-checkconflicts-24b5fa4102f9959b4be48abd3c7c007e30f0bd8a.tar.gz
dist-checkconflicts-24b5fa4102f9959b4be48abd3c7c007e30f0bd8a.zip
more tests
Diffstat (limited to 't/lib')
-rw-r--r--t/lib/04/Foo/Conflicts.pm15
-rw-r--r--t/lib/04/Foo/Conflicts2.pm12
2 files changed, 27 insertions, 0 deletions
diff --git a/t/lib/04/Foo/Conflicts.pm b/t/lib/04/Foo/Conflicts.pm
new file mode 100644
index 0000000..3691702
--- /dev/null
+++ b/t/lib/04/Foo/Conflicts.pm
@@ -0,0 +1,15 @@
+package Foo::Conflicts;
+use strict;
+use warnings;
+
+use Dist::CheckConflicts
+ -conflicts => {
+ 'Foo::One' => 0.01,
+ 'Foo::Two' => 0.03,
+ 'Foo::Three' => 0.02,
+ },
+ -also => [
+ 'Foo::Conflicts2',
+ ];
+
+1;
diff --git a/t/lib/04/Foo/Conflicts2.pm b/t/lib/04/Foo/Conflicts2.pm
new file mode 100644
index 0000000..b782a2b
--- /dev/null
+++ b/t/lib/04/Foo/Conflicts2.pm
@@ -0,0 +1,12 @@
+package Foo::Conflicts2;
+use strict;
+use warnings;
+
+use Dist::CheckConflicts
+ -conflicts => {
+ 'Foo::One' => 0.03,
+ 'Foo::Two' => 0.01,
+ 'Foo::Four' => 0.02,
+ };
+
+1;