Add non-nil Data because Go 1.7 needs it

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
Bryan Boreham 2018-06-01 16:52:44 +00:00
parent 8fbbc9bc6b
commit 04c0326535
1 changed files with 1 additions and 0 deletions

View File

@ -613,6 +613,7 @@ func TestAPIClientDo(t *testing.T) {
{ {
response: &apiResponse{ response: &apiResponse{
Status: "error", Status: "error",
Data: json.RawMessage(`null`),
ErrorType: ErrBadData, ErrorType: ErrBadData,
Error: "end timestamp must not be before start time", Error: "end timestamp must not be before start time",
}, },