From 08ae9246421cf2b7269dc09dab2dbd5dc5d0817a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Oct 2016 13:01:04 +0200 Subject: Add tests and fixes for trailing description support --- unit-tests/test/script/lexer/description-line.test | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'unit-tests/test/script/lexer') diff --git a/unit-tests/test/script/lexer/description-line.test b/unit-tests/test/script/lexer/description-line.test index f0f0c9f..1d317eb 100644 --- a/unit-tests/test/script/lexer/description-line.test +++ b/unit-tests/test/script/lexer/description-line.test @@ -2,16 +2,20 @@ test.arguments += description-line $* <" foo bar " >>EOO # full ' foo bar ' + EOO $* <" " >>EOO # space ' ' + EOO $* <"" >>EOO # empty -'' + EOO -$* <:"foo" 2>>EOE != 0 # eof +$* <:"foo" >>EOO 2>>EOE != 0 # eof +'foo' +EOO stdin:1:4: error: expected newline at the end of description line EOE -- cgit v1.1