Use backtick quotes to avoid excess escaping

pull/2000/head
YuviPanda 9 years ago
parent 97a655d225
commit cd7275069e

@ -143,7 +143,7 @@ one:
}
func TestToJson(t *testing.T) {
expect := "{\"foo\":\"bar\"}"
expect := `{"foo":"bar"}`
v := struct {
Foo string `json:"foo"`
}{

Loading…
Cancel
Save