From 88d207790e277aa864e6ed114be1c6e59d8ee3f4 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 4 Dec 2015 15:18:15 -0600 Subject: Replace duplicate sed test with case we hadn't covered yet. --- tests/sed.test | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/sed.test b/tests/sed.test index 805184e6..8c5bb5d4 100755 --- a/tests/sed.test +++ b/tests/sed.test @@ -117,9 +117,10 @@ testing "sed delimiter in regex [char range] doesn't count" "sed -e 's/[/]//'" \ testing "sed delete regex range start line after trigger" \ "sed -e '/one/,/three/{' -e 'i meep' -e '1D;}'" \ "meep\nmeep\ntwo\nmeep\nthree" "" "one\ntwo\nthree" -testing "sed D further processing depends on whether line is blank" \ - "sed -e '/one/,/three/{' -e 'i meep' -e'N;2D;}'" \ - "meep\nmeep\ntwo\nthree\n" "" "one\ntwo\nthree\n" +testing "sed blank pattern repeats last pattern" \ + "sed -e '/^three/s//abc&def/'" \ + "one two three\nabcthreedef four five\nfive six seven\n" "" \ + "one two three\nthree four five\nfive six seven\n" # Different ways of parsing line continuations -- cgit v1.2.3