summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-11-21 22:51:57 -0600
committerJesse Luehrs <doy@tozt.net>2010-11-21 22:51:57 -0600
commit9e1c45cd07ca60274032080ebbbf2d6bdf114a41 (patch)
treea0e6dce110efc53ea1154aefaa7b59e8c3401faa
parent631e727960ecf5773c0b2fe60c76f4f54c9145cc (diff)
downloaddist-checkconflicts-9e1c45cd07ca60274032080ebbbf2d6bdf114a41.tar.gz
dist-checkconflicts-9e1c45cd07ca60274032080ebbbf2d6bdf114a41.zip
versions are strings
-rw-r--r--t/01-basic.t16
1 files changed, 8 insertions, 8 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
index a4e4c56..41ad8eb 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -9,8 +9,8 @@ use lib 't/lib/01';
is_deeply(
{ Foo::Conflicts->conflicts },
{
- 'Foo::Thing' => 0.01,
- 'Foo::Thing::Sub' => 0.05,
+ 'Foo::Thing' => '0.01',
+ 'Foo::Thing::Sub' => '0.05',
},
"basic conflicts work"
);
@@ -21,24 +21,24 @@ use lib 't/lib/01';
is_deeply(
{ Bar::Conflicts->conflicts },
{
- 'Bar::Local' => 0.02,
- 'Bar::Also' => 0.06,
- 'Bar::Also::Also' => 0.12,
+ 'Bar::Local' => '0.02',
+ 'Bar::Also' => '0.06',
+ 'Bar::Also::Also' => '0.12',
},
"nested conflicts work"
);
is_deeply(
{ Bar::Conflicts2->conflicts },
{
- 'Bar::Also' => 0.06,
- 'Bar::Also::Also' => 0.12,
+ 'Bar::Also' => '0.06',
+ 'Bar::Also::Also' => '0.12',
},
"nested conflicts work"
);
is_deeply(
{ Bar::Conflicts3->conflicts },
{
- 'Bar::Also::Also' => 0.12,
+ 'Bar::Also::Also' => '0.12',
},
"nested conflicts work"
);