diff --git a/command/apply_test.go b/command/apply_test.go index c062de5af..0506b49d6 100644 --- a/command/apply_test.go +++ b/command/apply_test.go @@ -1142,7 +1142,7 @@ func testHttpServer(t *testing.T) net.Listener { func testHttpHandlerHeader(w http.ResponseWriter, r *http.Request) { var url url.URL url.Scheme = "file" - url.Path = testFixturePath("init") + url.Path = filepath.ToSlash(testFixturePath("init")) w.Header().Add("X-Terraform-Get", url.String()) w.WriteHeader(200)