mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-22 22:28:51 +01:00
Simplify tests for removing duplicate rows to avoid flaky failure caused by extra newline
This commit is contained in:
parent
5e415469d8
commit
8f8f4449bf
@ -2561,10 +2561,7 @@ echo foo`)
|
||||
{Keys: "ENTER", ExtraDelay: 1.0},
|
||||
})
|
||||
out = stripTuiCommandPrefix(t, out)
|
||||
require.Contains(t, out, "\n")
|
||||
fmt.Printf("TODO: Debug: out=%#v", out)
|
||||
out = strings.Split(out, "\n")[1]
|
||||
testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery-select")
|
||||
require.Contains(t, out, "\necho foo\n")
|
||||
}
|
||||
|
||||
func TestSetConfigNoCorruption(t *testing.T) {
|
||||
|
@ -1 +0,0 @@
|
||||
echo foo
|
Loading…
Reference in New Issue
Block a user