Commit 01938ac5 authored by Matt Bell's avatar Matt Bell Committed by Juan Batiz-Benet

commands: Updated Response test to use safer option setting

parent 308ee5c9
......@@ -20,7 +20,7 @@ func TestMarshalling(t *testing.T) {
t.Error("Should have failed (no encoding type specified in request)")
}
req.options["enc"] = Json
req.SetOption(globalOptions[0], Json)
bytes, err := res.Marshal()
if err != nil {
t.Error("Should have passed")
......
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