diff options
author | Jim Meyering <meyering@fb.com> | 2022-10-23 09:58:40 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2022-10-23 23:10:26 -0700 |
commit | 59c6f17a719b5425f4defb3d9219210cfc676709 (patch) | |
tree | 8c6ee7b525ccebbd9b4160ddff6452d1aa428694 /testsuite | |
parent | f5abeba48e4c93fc8df4c81e7ae2a61f469ed5e1 (diff) | |
download | sed-59c6f17a719b5425f4defb3d9219210cfc676709.tar.gz |
test: add a test case and mention the change in NEWS
* testsuite/misc.pl: Add a test to exercise the preceding change.
* NEWS (Changes in behavior): Mention it.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/misc.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/misc.pl b/testsuite/misc.pl index 64ac57b..e60b812 100644 --- a/testsuite/misc.pl +++ b/testsuite/misc.pl @@ -1197,6 +1197,8 @@ s,.*[^\/],, ['bug30794_1', "s/z/\\\\x5cA/", {IN=>'z'}, {OUT => "\\A"}], ['bug30794_2', "s/z/\\\\x5c/", {IN=>'z'}, {OUT => "\\"}], ['bug30794_3', "s/z/\\\\x5c1/", {IN=>'z'}, {OUT => "\\1"}], + + ['bug40242', q('sn\nnXn'), {IN=>'n'}, {OUT => 'X'}], ); my $save_temps = $ENV{SAVE_TEMPS}; |