From a0314a89468722a3a0a00f958683824f9c244d45 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 27 May 2016 11:26:38 -0700 Subject: [PATCH] Change File.separator to File.pathSeparator --- .../test/org/antlr/v4/test/runtime/go/BaseTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime-testsuite/test/org/antlr/v4/test/runtime/go/BaseTest.java b/runtime-testsuite/test/org/antlr/v4/test/runtime/go/BaseTest.java index d4e67664c..178634b2a 100644 --- a/runtime-testsuite/test/org/antlr/v4/test/runtime/go/BaseTest.java +++ b/runtime-testsuite/test/org/antlr/v4/test/runtime/go/BaseTest.java @@ -393,7 +393,7 @@ public abstract class BaseTest { String gopath = builder.environment().get("GOPATH"); String path = runtimePath + File.pathSeparator + tmpdir; if (gopath != null && gopath.length() > 0) { - path = gopath + File.separator + path; + path = gopath + File.pathSeparator + path; } builder.environment().put("GOPATH", path); builder.directory(new File(tmpdir));