From d1afb320a6bae3b94bfe53c7f6e32bc998bc28cf Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Wed, 14 Mar 2012 22:48:22 +0100 Subject: [PATCH] tests: one more use of 'unindent' function * tests/yacc-d-cxx.test (write_parse, write_main): Use 'unindent' instead of ad-hoc sed invocation to strip extra leading whitespace. Signed-off-by: Stefano Lattarini --- tests/yacc-d-cxx.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/yacc-d-cxx.test b/tests/yacc-d-cxx.test index 38d63f3f1..51d78f1b3 100755 --- a/tests/yacc-d-cxx.test +++ b/tests/yacc-d-cxx.test @@ -24,7 +24,7 @@ required=yacc write_parse () { header=$1 - sed 's/^ *//' < @@ -41,7 +41,7 @@ END write_main () { header=$1 - sed 's/^ *//' < #include "$header" -- 2.47.2