diff tests/test-addremove-similar @ 4966:8d982aef0be1

addremove: print meaningful error message if --similar not numeric
author Bryan O'Sullivan <bos@serpentine.com>
date Sat, 21 Jul 2007 19:07:18 -0700
parents 736e49292809
children 1a96f1d9599b
line wrap: on
line diff
--- a/tests/test-addremove-similar	Sat Jul 21 17:36:45 2007 +0200
+++ b/tests/test-addremove-similar	Sat Jul 21 19:07:18 2007 -0700
@@ -41,3 +41,9 @@
 
 hg commit -m B
 
+echo % should all fail
+hg addremove -s foo
+hg addremove -s -1
+hg addremove -s 1e6
+
+true