fix(test): try to have the correct dir for windows

Kujtim Hoxha created

Change summary

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

Detailed changes

internal/agent/common_test.go 🔗

@@ -157,7 +157,7 @@ func coderAgent(r *recorder.Recorder, env env, large, small fantasy.LanguageMode
 	prompt, err := coderPrompt(
 		prompt.WithTimeFunc(fixedTime),
 		prompt.WithPlatform("linux"),
-		prompt.WithWorkingDir(env.workingDir),
+		prompt.WithWorkingDir(filepath.ToSlash(env.workingDir)),
 	)
 	if err != nil {
 		return nil, err