mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[terminal] IJPL-188778 Fix flaky failures of the bash posix mode test
For some reason sometimes there can be different numbers of ending line breaks. Should not be a big issue for this test. GitOrigin-RevId: f52b527658ef71e0184789c5e261a16a50f70f05
This commit is contained in:
committed by
intellij-monorepo-bot
parent
07987031af
commit
e400e035e8
+2
-2
@@ -371,8 +371,8 @@ internal class ShellIntegrationTest(private val shellPath: Path) {
|
||||
startSessionAndCollectOutputEvents(options, block = terminalInputActions)
|
||||
}
|
||||
|
||||
val regularSessionOutput = calculateResultingOutput(regularSessionEvents.await())
|
||||
val posixSessionOutput = calculateResultingOutput(posixSessionEvents.await())
|
||||
val regularSessionOutput = calculateResultingOutput(regularSessionEvents.await()).trim()
|
||||
val posixSessionOutput = calculateResultingOutput(posixSessionEvents.await()).trim()
|
||||
|
||||
// Check that the output of posix and regular sessions is the same
|
||||
assertThat(posixSessionOutput).isEqualTo(regularSessionOutput)
|
||||
|
||||
Reference in New Issue
Block a user