on main help sign in
fix(test): try to have the correct dir for windows
46dcc50Kujtim Hoxha
internal/agent/common_test.go+1−1
@@ -157,7 +157,7 @@ func coderAgent(r *recorder.Recorder, env env, large, small fantasy.LanguageMode
157 prompt, err := coderPrompt(
157 prompt, err := coderPrompt(
158 prompt.WithTimeFunc(fixedTime),
158 prompt.WithTimeFunc(fixedTime),
159 prompt.WithPlatform("linux"),
159 prompt.WithPlatform("linux"),
160− prompt.WithWorkingDir(env.workingDir),
160+ prompt.WithWorkingDir(filepath.ToSlash(env.workingDir)),
161 )
161 )
162 if err != nil {
162 if err != nil {
163 return nil, err
163 return nil, err