diff options
author | Assaf Gordon <assafgordon@gmail.com> | 2017-04-10 03:58:14 +0000 |
---|---|---|
committer | Assaf Gordon <assafgordon@gmail.com> | 2017-05-10 21:37:20 -0400 |
commit | ff1d9f9e6ee1405e2875d29fe49d81d9e35526a9 (patch) | |
tree | 1dc7571544db1c879f934a01caf284032a5898d4 /testsuite/misc.pl | |
parent | e3ca6642c6e485379cd5182b77853e6e3b0c737a (diff) | |
download | sed-ff1d9f9e6ee1405e2875d29fe49d81d9e35526a9.tar.gz |
tests: convert "middle" test to new framework
* testsuite/misc.pl (Tests): Add middle.
* testsuite/middle.good: Delete file.
* testsuite/middle.inp: Likewise.
* testsuite/middle.sed: Likewise.
* testsuite/local.mk (EXTRA_DIST): Remove their names.
(SEDTESTS): Remove "middle".
Diffstat (limited to 'testsuite/misc.pl')
-rw-r--r-- | testsuite/misc.pl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/misc.pl b/testsuite/misc.pl index d2d0a81..c33dd27 100644 --- a/testsuite/misc.pl +++ b/testsuite/misc.pl @@ -855,6 +855,26 @@ s/@@/%@/; s/@@/@%/; s/@g$/%g/ . "s\%\@EVENT_TYPE\@\%\$EVENT_TYPE\%g\n"} ], + ['middle', + qw(-n -e '3,5p'), + {IN => q( "...by imposing a tiny bit of order in a communication you are + translating, you are carving out a little bit of order in the + universe. You will never succeed. Everything will fail and come + to an end finally. But you have a chance to carve a little bit + of order and maybe even beauty out of the raw materials that + surround you everywhere, and I think there is no greater meaning + in life." + + Donald L. Philippi, Oct 1930 - Jan 1993 +)}, + {OUT => +q( universe. You will never succeed. Everything will fail and come + to an end finally. But you have a chance to carve a little bit + of order and maybe even beauty out of the raw materials that +)} + ], + + ['xabcx', # from the ChangeLog (Fri May 21 1993) # Regex address with custom character (\xREGEXx) |