fix(shell): convert path to posix path in tests

Kieran Klukas created

Change summary

internal/shell/dispatch_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

internal/shell/dispatch_test.go 🔗

@@ -23,7 +23,7 @@ func writeScript(t *testing.T, dir, name, contents string) string {
 	if err := os.WriteFile(path, []byte(contents), 0o755); err != nil {
 		t.Fatalf("write %s: %v", name, err)
 	}
-	return path
+	return filepath.ToSlash(path)
 }
 
 // randSuffix returns a short random hex string, used to build