Commit 839ee634 authored by Levin Zimmermann's avatar Levin Zimmermann Committed by Kirill Smelkov

fixup! go/client/zurl: Sync format to py upstream

I realized a minor mistake I did in writing the tests that needs to
be fixed in order to have reliable test results.

/reviewed-by @kirr
/reviewed-on !9
parent eee24b02
......@@ -697,7 +697,7 @@ func TestParseURL(t *testing.T) {
u := "neos://test@127.0.0.1?ca=ca&cert=cert&key=key"
testParseURL(t, u, urlInfo{netcfg: neonet.Config{CA: "ca", Cert: "cert", Key: "key"}})
// With query parameters
u = "neo://test@127.0.0.1/compress=true&logfile=n.log&cache-size=256"
u = "neo://test@127.0.0.1?compress=true&logfile=n.log&cache-size=256"
testParseURL(t, u, urlInfo{})
// Emtpy query parameters must be ignored (if they wouldn't
// be ignored, parseURL should raise an error).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment