diff tests/test-convert-git.t @ 22511:b1ec65b3ba31

convert: simplify git.similarity parsing
author Siddharth Agarwal <sid0@fb.com>
date Tue, 23 Sep 2014 14:40:32 -0700
parents cc5f94db672b
children 064a912ebfc2
line wrap: on
line diff
--- a/tests/test-convert-git.t	Wed Sep 24 20:11:36 2014 -0700
+++ b/tests/test-convert-git.t	Tue Sep 23 14:40:32 2014 -0700
@@ -256,7 +256,7 @@
 
 input validation
   $ hg convert --config convert.git.similarity=foo --datesort git-repo2 fullrepo
-  abort: convert.git.similarity must be a number
+  abort: convert.git.similarity is not an integer ('foo')
   [255]
   $ hg convert --config convert.git.similarity=-1 --datesort git-repo2 fullrepo
   abort: similarity must be between 0 and 100