tests/test-metaedit.t
changeset 3224 bac69ab0782c
parent 3223 73b4e84df0bd
child 3287 4303a46b4167
child 3565 cfe31185ad07
--- a/tests/test-metaedit.t	Mon Dec 04 15:50:32 2017 +0530
+++ b/tests/test-metaedit.t	Mon Dec 04 17:16:01 2017 +0530
@@ -134,6 +134,10 @@
   abort: editing multiple revisions without --fold is not currently supported
   [255]
 
+  $ HGEDITOR=cat hg metaedit '.^::.' --fold --note 'folding changesets using metaedit,
+  > and newlines'
+  abort: note cannot contain a newline
+  [255]
   $ HGEDITOR=cat hg metaedit '.^::.' --fold --note "folding changesets using metaedit"
   HG: This is a fold of 2 changesets.
   HG: Commit message of changeset 6.