]> git.donarmstrong.com Git - debbugs.git/commitdiff
test that forcemerge of fixed and found versions works
authorDon Armstrong <don@donarmstrong.com>
Mon, 19 Mar 2012 18:54:16 +0000 (11:54 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 19 Mar 2012 18:54:16 +0000 (11:54 -0700)
t/12_merge.t

index 5b76f72c8abf4379ebb54d3c0361028fae6b220a..2ae7833574f2d1ab7bea85e9e3eb7ff791b0ba8f 100644 (file)
@@ -1,6 +1,6 @@
 # -*- mode: cperl;-*-
 
-use Test::More tests => 29;
+use Test::More tests => 32;
 
 use warnings;
 use strict;
@@ -165,6 +165,8 @@ affects 2 bleargh
 forwarded 2 http://example.com/2
 close 2
 tag -3 wontfix
+fixed -4 1.2-3
+found -4 1.2-1
 thanks
 EOF
        ;
@@ -189,6 +191,11 @@ test_control_commands(forcemerge   => {command => 'forcemerge',
                                       status_key => 'mergedwith',
                                       status_value => '2 5',
                                      },
+                     forcemerge   => {command => 'forcemerge',
+                                      value   => '2 6',
+                                      status_key => 'mergedwith',
+                                      status_value => '2 5 6',
+                                     },
                     );