mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-16 18:41:03 +01:00
Simplify key bindings test
This commit is contained in:
parent
0c3d46924e
commit
aeaf1ad005
@ -2178,7 +2178,7 @@ func testTui_keybindings(t *testing.T) {
|
||||
"'?' Enter",
|
||||
})
|
||||
out = stripTuiCommandPrefix(t, out)
|
||||
testutils.CompareGoldens(t, out, "TestTui-KeyBindings-Selected")
|
||||
require.Regexp(t, regexp.MustCompile(`^ls ~/\n`), out)
|
||||
}
|
||||
|
||||
func testTui_errors(t *testing.T) {
|
||||
|
2
client/testdata/TestTui-KeyBindings-Selected
vendored
2
client/testdata/TestTui-KeyBindings-Selected
vendored
@ -1,2 +0,0 @@
|
||||
ls ~/
|
||||
david@ghaction-runner-hostname hishtory %
|
Loading…
Reference in New Issue
Block a user