tests/test-qrecord.t
changeset 31556 448acdee9161
parent 31065 7074589cf22a
child 34013 da07367d683b
--- a/tests/test-qrecord.t	Fri Mar 10 16:18:43 2017 -0800
+++ b/tests/test-qrecord.t	Mon Mar 20 11:38:37 2017 +0900
@@ -239,6 +239,12 @@
   $ hg qrecord .hg
   abort: patch name cannot begin with ".hg"
   [255]
+  $ hg qrecord ' foo'
+  abort: patch name cannot begin or end with whitespace
+  [255]
+  $ hg qrecord 'foo '
+  abort: patch name cannot begin or end with whitespace
+  [255]
 
 qrecord a.patch