Simplify key bindings test

This commit is contained in:
David Dworken 2024-04-28 11:27:17 -07:00
parent 0c3d46924e
commit aeaf1ad005
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View File

@ -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) {

View File

@ -1,2 +0,0 @@
ls ~/
david@ghaction-runner-hostname hishtory %