void () { withCycleConsoleNoFolding(1, console -> { console.print(StringUtil.repeat("a", 5000), ConsoleViewContentType.NORMAL_OUTPUT); console.print("\n", ConsoleViewContentType.NORMAL_OUTPUT); console.waitAllRequests(); assertEquals(StringUtil.repeat("a", 1023) + "\n", console.getText()); }); }