Browse Source

add TODO

master
g2384 5 years ago
parent
commit
532a4247cc
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      tests/VHDLFormatterUnitTests.ts

+ 9
- 0
tests/VHDLFormatterUnitTests.ts View File

@ -1421,6 +1421,15 @@ function IntegrationTest85() {
assertAndCountTest("report and severity", input, actual); 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 { function GetDefaultSettings(indentation: string = " "): BeautifierSettings {
let new_line_after_symbols = new NewLineSettings(); let new_line_after_symbols = new NewLineSettings();
new_line_after_symbols.newLineAfter = ["then", ";"]; new_line_after_symbols.newLineAfter = ["then", ";"];


Loading…
Cancel
Save