diff tests/test-addremove-similar.t @ 31589:2efd9771323e

similar: take the first match instead of the last It seems more natural. This makes the next patch slightly cleaner.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 23 Mar 2017 20:52:41 +0900
parents 3a383caa97f4
children 75be14993fda
line wrap: on
line diff
--- a/tests/test-addremove-similar.t	Thu Mar 23 21:17:08 2017 +0900
+++ b/tests/test-addremove-similar.t	Thu Mar 23 20:52:41 2017 +0900
@@ -101,7 +101,7 @@
   removing 8
   removing 9
   adding a
-  recording removal of 9 as rename to a (100% similar)
+  recording removal of 0 as rename to a (100% similar)
   $ hg revert -aq
 
 pick one from many similar files
@@ -124,7 +124,7 @@
   removing 8
   removing 9
   adding a
-  recording removal of 9 as rename to a (99% similar)
+  recording removal of 0 as rename to a (99% similar)
   $ hg commit -m 'always the same file should be selected'
 
 should all fail