Fix remote tests.

Patch by: jat
Review by: rjrjr (TBR)


git-svn-id: https://google-web-toolkit.googlecode.com/svn/branches/farewellSwt@6243 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/junit/JUnitShell.java b/user/src/com/google/gwt/junit/JUnitShell.java
index 919c01f..ad10b73 100644
--- a/user/src/com/google/gwt/junit/JUnitShell.java
+++ b/user/src/com/google/gwt/junit/JUnitShell.java
@@ -512,7 +512,7 @@
       String url = "http://" + localhost + ":" + getPort() + "/"
           + moduleName + "/junit.html";
       if (developmentMode) {
-        url += "?gwt.hosted=localhost:" + codeServerPort;
+        url += "?gwt.hosted=" + localhost + ":" + codeServerPort;
       }
       return url;
     } catch (UnknownHostException e) {