mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-23 13:31:39 +02:00
Swap back to using the strict version for capturing tmux
This commit is contained in:
parent
fb96852b2d
commit
7bb2945901
@ -260,10 +260,7 @@ func captureTerminalOutputComplex(t testing.TB, captureConfig TmuxCaptureConfig)
|
||||
fullCommand += "\n"
|
||||
fullCommand += " tmux kill-session -t foo\n"
|
||||
testutils.TestLog(t, "Running tmux command: "+fullCommand)
|
||||
// TODO: Can this use the strict version instead?
|
||||
out, err := captureConfig.tester.RunInteractiveShellRelaxed(t, fullCommand)
|
||||
require.NoError(t, err)
|
||||
return strings.TrimSpace(out)
|
||||
return strings.TrimSpace(captureConfig.tester.RunInteractiveShell(t, fullCommand))
|
||||
}
|
||||
|
||||
func assertNoLeakedConnections(t testing.TB) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user