Golang test data - “actual : *json.SyntaxError(&json.SyntaxError{msg:”unexpected end of JSON input“, Offset:0})”

前端 未结 0 1079
我在风中等你
我在风中等你 2021-02-13 14:34

In my go test code, I\'ve mocked some sample json data as a strings.NewReader as it is easier to test than using static files. The tests runs fine when you click on

相关标签:
回答
  • 消灭零回复
提交回复
热议问题