From 532a4247ccf0f160a7929a4552d13e0378558f3f Mon Sep 17 00:00:00 2001 From: g2384 Date: Sat, 23 Feb 2019 23:44:14 +0000 Subject: [PATCH] add TODO --- tests/VHDLFormatterUnitTests.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/VHDLFormatterUnitTests.ts b/tests/VHDLFormatterUnitTests.ts index d6141a2..18d1af4 100644 --- a/tests/VHDLFormatterUnitTests.ts +++ b/tests/VHDLFormatterUnitTests.ts @@ -1421,6 +1421,15 @@ function IntegrationTest85() { assertAndCountTest("report and severity", input, actual); } +function IntegrationTest86() { // TODO + let settings = GetDefaultSettings(); + let input = 'round_up(arg => arg,\r\n result => result,\r\n overflowx => round_overflow);'; + let actual = beautify(input, settings); + assertAndCountTest("multilines in bracket", input, actual); +} + +//TODO multiline setting, if true, \r\n\r\n -> \r\n\r\n, if false, \r\n\r\n -> \r\n + function GetDefaultSettings(indentation: string = " "): BeautifierSettings { let new_line_after_symbols = new NewLineSettings(); new_line_after_symbols.newLineAfter = ["then", ";"];