Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/cli/commands/hook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func TestHookPreToolInvalidSymbol(t *testing.T) {
if err != nil {
t.Fatalf("create store: %v", err)
}
store.Close()
_ = store.Close()

// Prepare JSON input with a non-existent symbol
jsonInput := []byte(`{"tool_name":"pizen-lea__impact","tool_input":{"symbol":"nonexistent_symbol"}}`)
Expand Down Expand Up @@ -55,7 +55,7 @@ func TestHookPreToolInvalidSymbol(t *testing.T) {
}
defer func() {
os.Stdin = oldStdin
os.Chdir(oldWd)
_ = os.Chdir(oldWd)
osExit = osExitOriginal
_ = recover()
if exitCode != 2 {
Expand Down
Loading