From 7f6808984dfb37848edf149c34242f7163eb1a17 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Nov 2016 10:28:23 +0200 Subject: Implement support for here-document indentation --- unit-tests/test/script/parser/here-document.test | 88 ++++++++++++++++++++++++ 1 file changed, 88 insertions(+) (limited to 'unit-tests') diff --git a/unit-tests/test/script/parser/here-document.test b/unit-tests/test/script/parser/here-document.test index d6b21fd..4fa62d2 100644 --- a/unit-tests/test/script/parser/here-document.test +++ b/unit-tests/test/script/parser/here-document.test @@ -1,4 +1,92 @@ +: indent +: +{ + : basic + : + $* <>EOO + cmd <>EOO + cmd <>EOO + cmd <>EOO + x = foo bar + cmd <>EOO + x = foo + cmd <>EOE != 0 + cmd <>EOO # blank-lines cmd <