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 375beb5..12b36ae 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests @@ -302,6 +302,10 @@ testing "sed zero chars match/replace advances correctly 2" \ "sed 's [^ .]* x g'" \ "x x.x\n" "" " a.b\n" +testing "sed zero chars match/replace logic must not falsely trigger here" \ + "sed 's/a/A/g'" \ + "_AAA1AA\n" "" "_aaa1aa\n" + # testing "description" "commands" "result" "infile" "stdin" exit $FAILCOUNT |