diff --git a/internal/miro/test.go b/internal/miro/test.go index 8cc6629..8f8a95b 100644 --- a/internal/miro/test.go +++ b/internal/miro/test.go @@ -204,7 +204,7 @@ func discoverTestScenarios(discoveryRoot, displayRoot string) ([]testScenario, e return scenarios, nil } -func replayScenario(scenario testScenario, shellPath string, tio testIO, sandboxConfig map[string]string) error { +func replayScenario(scenario testScenario, shellPath string, _ testIO, sandboxConfig map[string]string) error { input, err := loadRecordedInput(scenario.inPath) if err != nil { return fmt.Errorf("failed to read recorded input: %v", err) diff --git a/internal/miro/testdir.go b/internal/miro/testdir.go index 750330d..5b2cbb9 100644 --- a/internal/miro/testdir.go +++ b/internal/miro/testdir.go @@ -44,7 +44,7 @@ func resolveTestDirFromConfig(root string, cfg miroconfig.Config) (string, error } return testDir, nil } - if err != nil && !errors.Is(err, os.ErrNotExist) { + if !errors.Is(err, os.ErrNotExist) { return "", fmt.Errorf("failed to check test directory %s: %v", testDir, err) }