]> git.donarmstrong.com Git - debbugs.git/blobdiff - t/02_version_dpkg.t
remove leading and trailing spaces in references and replyto
[debbugs.git] / t / 02_version_dpkg.t
index e61345577e6eca9206b4ed054782614cdacac0ee..f435befe94a963da97b0846644740a973345fef7 100644 (file)
@@ -40,6 +40,16 @@ my @versions = ({a      => '1.0-1',
                 result => -1,
                 relation => 'lt',
                },
+               {a      => '1foo-',
+                b      => '1foo',
+                result => 0,
+                relation => 'eq',
+               },
+               {a      => '1foo-',
+                b      => '1foo+',
+                result => -1,
+                relation => 'lt',
+               },
               );
 
 plan tests => @versions * 2 + 1;