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:
Kirill
2023-12-11 03:19:12 +03:00
committed by GitHub
parent 922e2de8b0
commit 1494ff5905
33 changed files with 744 additions and 123 deletions

View File

@@ -66,6 +66,7 @@ func TestRequest(t *testing.T) {
if err != nil {
t.Error(err)
continue
}
if resp.StatusCode != test.statusCode {