Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0-beta-1
Description
Test.groovy
json = new groovy.json.JsonBuilder(new URL('http://groovy.codehaus.org/')) assert json.toString() == '"http://groovy.codehaus.org/"'
Output
assert json.toString() == '"http://groovy.codehaus.org/"' | | | | | false | {"protocol":"http","file":"/","port":-1,"query":null,"host":"groovy.codehaus.org","path":"/","authority":"groovy.codehaus.org","content":{},"userInfo":null,"ref":null,"defaultPort":80} {"protocol":"http","file":"/","port":-1,"query":null,"host":"groovy.codehaus.org","path":"/","authority":"groovy.codehaus.org","content":{},"userInfo":null,"ref":null,"defaultPort":80}