on main help sign in
fix(shell): convert path to posix path in tests
commitc9fd6be3e3720fccdc2e2afad55dcf504141cc52 authorKieran Klukas <kieran@dunkirk.sh> dateTue 5 May 2026, 12:50 (5 months ago) parent5dacf9e
1 file changed+1−1
internal/shell/dispatch_test.go+1−1
internal/shell/dispatch_test.go+1−1
@@ -23,7 +23,7 @@ func writeScript(t *testing.T, dir, name, contents string) string {
2323 if err := os.WriteFile(path, []byte(contents), 0o755); err != nil {
2424 t.Fatalf("write %s: %v", name, err)
2525 }
26− return path
26+ return filepath.ToSlash(path)
2727}
2828
2929// randSuffix returns a short random hex string, used to build