Commit 2aea1a50 authored by Levin Zimmermann's avatar Levin Zimmermann

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.
parent 373449fc
......@@ -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