chiark / gitweb /
doctests: Fix newline handling in changequote mode section
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 25 Dec 2019 12:55:48 +0000 (12:55 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 28 Dec 2019 22:19:08 +0000 (22:19 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/filter/extract-doctest

index 28dee5e..1bcd473 100755 (executable)
@@ -129,9 +129,9 @@ sub writeout ($) {
                  '','','', 'normal',
                 sub { !$_[0]{CQ} } );
     write_permode($dir_prefix,
-                 "&:changequote NEWQUOTE",
-                 "NEWQUOTE:changequote &",
-                 "\n",
+                 "&:changequote NEWQUOTE\n",
+                 "NEWQUOTE:changequote &\n",
+                 "",
                  'changequote',
                  sub { $_[0]{CQ} } );
     oh "# doctest ends\n";