mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 22:34:02 +03:00
Add missed case for error rate test
This commit is contained in:
@@ -35,6 +35,8 @@ func (suite *TypeErrorRateTestSuite) TestUnmarshalFail() {
|
|||||||
assert.Error(t, json.Unmarshal(data, &typeErrorRateTestStruct{}))
|
assert.Error(t, json.Unmarshal(data, &typeErrorRateTestStruct{}))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
suite.Error(json.Unmarshal([]byte("test"), &typeErrorRateTestStruct{}))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (suite *TypeErrorRateTestSuite) TestUnmarshalOk() {
|
func (suite *TypeErrorRateTestSuite) TestUnmarshalOk() {
|
||||||
|
|||||||
Reference in New Issue
Block a user