Better tests (check that response match the structure) (#52)
Trailing zeros were removed from time in responses because of json marshaling features
This commit is contained in:
@@ -66,6 +66,7 @@ func TestRequest(t *testing.T) {
|
||||
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
continue
|
||||
}
|
||||
|
||||
if resp.StatusCode != test.statusCode {
|
||||
|
||||
Reference in New Issue
Block a user