aboutsummaryrefslogtreecommitdiff
path: root/tests/builtin
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-03-23 18:50:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-03-26 18:13:32 +0300
commit95c579df686f115c0fd3697f2723fa73476c4584 (patch)
tree5d76adbcf75692d278b4085c6e996ab58a3e4e25 /tests/builtin
parent5ecdb9a3b5cb85418f69126226b2636caed2e4da (diff)
Add regex_replace_parse() overloads
Diffstat (limited to 'tests/builtin')
-rw-r--r--tests/builtin/sed.testscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/builtin/sed.testscript b/tests/builtin/sed.testscript
index 7fbc9b2..2ed3088 100644
--- a/tests/builtin/sed.testscript
+++ b/tests/builtin/sed.testscript
@@ -166,13 +166,13 @@ test.options += -c
: unterminated
:
$* -e 's/foo' 2>>EOE != 0
- sed: unterminated 's' command regex in 's/foo'
+ sed: invalid 's' command 's/foo': no delimiter after regex
EOE
: empty
:
$* -e 's///' 2>>EOE != 0
- sed: empty regex in 's' command in 's///'
+ sed: invalid 's' command 's///': empty regex
EOE
: invalid
@@ -188,7 +188,7 @@ test.options += -c
: unterminated-replacement
:
$* -e 's/foo/bar' 2>>EOE != 0
- sed: unterminated 's' command replacement in 's/foo/bar'
+ sed: invalid 's' command 's/foo/bar': no delimiter after replacement
EOE
: invalid-flags