diff options
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-x | testsuite/sed.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests index 9576b6c..a054de6 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests @@ -146,6 +146,10 @@ rm outputw testing "sed trailing NUL" \ "sed 's/i/z/' input -" \ "a\0b\0\nc" "a\0b\0" "c" +testing "sed escaped newline in command" \ + "sed 's/a/z\\ +z/' input" \ + "z\nz" "a" "" # Test end-of-file matching behavior |