Skip to content

Commit

Permalink
tests: add test case for substitute bug fixed in GNU ed 1.20.2
Browse files Browse the repository at this point in the history
edward was itself never subject to this bug, but good to have a test
case for it to detect future regressions in either GNU ed or edward.

See: https://lists.gnu.org/archive/html/bug-ed/2024-04/msg00003.html
  • Loading branch information
nmeum committed May 21, 2024
1 parent 66979c7 commit 7703c0e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ path. More usage information for the edward library is provided below.

This repository contains both unit tests and integration tests. The
latter require a reference implementation of a POSIX.1-2008 compatible
ed implementation. Currently, [GNU ed >= 1.18][gnu ed] is used for this
ed implementation. Currently, [GNU ed >= 1.20.2][gnu ed] is used for this
purpose.

Both unit and integration tests can be run using:
Expand Down
1 change: 1 addition & 0 deletions tests/integration/global-delimiter-omitted-substitute/cmds
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
g/x/s/x/y
1 change: 1 addition & 0 deletions tests/integration/global-delimiter-omitted-substitute/opts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
testdata/input-file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
foo
bxx

0 comments on commit 7703c0e

Please sign in to comment.