diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-08 17:20:23 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-08 17:25:39 -0400 |
commit | 04a6fd13f7ea3a45881d6e75ea1dffba38a999fd (patch) | |
tree | b275e3345e05514fea8264c82a82b8ce0973170f /t/also.t | |
parent | 3e4a621b8dbe1a03d3bfc8c8cac349112d987b7c (diff) | |
download | dist-checkconflicts-04a6fd13f7ea3a45881d6e75ea1dffba38a999fd.tar.gz dist-checkconflicts-04a6fd13f7ea3a45881d6e75ea1dffba38a999fd.zip |
remove test numbers
Diffstat (limited to 't/also.t')
-rw-r--r-- | t/also.t | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/t/also.t b/t/also.t new file mode 100644 index 0000000..285a5aa --- /dev/null +++ b/t/also.t @@ -0,0 +1,32 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use Test::More; +use Test::Fatal; +use lib 't/lib/also'; + +{ + use_ok('Bar::Conflicts'); + is_deeply( + { Bar::Conflicts->conflicts }, + { + 'Bar::Local' => '0.02', + 'Foo::Thing' => '0.01', + 'Foo::Thing::Sub' => '0.05', + }, + "can detect the proper conflicts module" + ); +} + +{ + use_ok('Bar::Conflicts2'); + is_deeply( + { Bar::Conflicts2->conflicts }, + { + 'Bar::Also' => '0.06', + }, + "unknown also entries are ignored" + ); +} + +done_testing; |