aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sed.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/sed.test b/tests/sed.test
index a7d5a6eb..f2ff8fd7 100755
--- a/tests/sed.test
+++ b/tests/sed.test
@@ -165,4 +165,6 @@ testing "bonus backslashes" \
testing "end b with }" "sed -n '/START/{:a;n;/END/q;p;ba}'" "b\nc\n" \
"" "a\nSTART\nb\nc\nEND\nd"
+testing '-z' 'sed -z "s/\n/-/g"' "a-b-c" "" "a\nb\nc"
+
# -i with $ last line test