Fix the error test.

This commit is contained in:
DN2 2019-01-10 01:34:35 -08:00
parent ed628f7129
commit cfa264b9dc
1 changed files with 1 additions and 1 deletions

View File

@ -21,6 +21,6 @@ func TestFlexInt(t *testing.T) {
a.EqualValues(FlexInt(5), r.Channel)
a.Nil(json.Unmarshal(seven, &r))
a.EqualValues(FlexInt(7), r.Channel)
a.NotNil(json.Unmarshal(auto, &r))
a.Nil(json.Unmarshal(auto, &r), "a regular string must not produce an unmarshal error")
a.EqualValues(FlexInt(0), r.Channel)
}