Skip to content

Server Bindaddr Args testcase correction

jmwample requested to merge jmwample/goptlib:main into main

fix incorrect testcase for server bindaddr parsing. One example uses the "," character to separate argument sets which should (based on the spec) result in one long unsplit argument.

# (Previous)
"alpha:k1=v1,beta:k2=v2,gamma:k3=v3"  =>  "alpha": {"k1": ["v1,beta:k2=v2,gamma:k3=v3"] }

# (Updated)
"alpha:k1=v1;beta:k2=v2;gamma:k3=v3"  => "alpha": {"k1": ["v1"]}, "beta": {"k2": ["v2"]}, "gamma": {"k3": ["v3"] } 

Merge request reports

Loading