mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 20:07:52 +02:00
Remove question mark to debug the AI test
This commit is contained in:
parent
6962233e1e
commit
a184bd4243
@ -1946,7 +1946,7 @@ func testTui_ai(t *testing.T) {
|
|||||||
// Test running an AI query
|
// Test running an AI query
|
||||||
out := captureTerminalOutput(t, tester, []string{
|
out := captureTerminalOutput(t, tester, []string{
|
||||||
"hishtory SPACE tquery ENTER",
|
"hishtory SPACE tquery ENTER",
|
||||||
"?myQuery",
|
"myQuery",
|
||||||
})
|
})
|
||||||
out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1])
|
out = strings.TrimSpace(strings.Split(out, "hishtory tquery")[1])
|
||||||
testutils.CompareGoldens(t, out, "TestTui-AiQuery")
|
testutils.CompareGoldens(t, out, "TestTui-AiQuery")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user