add more cover stuff

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2022-05-03 00:23:43 +03:00
parent fb35e73731
commit 9640cdae1a
13 changed files with 101 additions and 106 deletions

View File

@@ -97,7 +97,6 @@ func TestErrors(t *testing.T) {
}
}
func TestCodeIn(t *testing.T) {
err := InternalServerError("id", "%s", "msg")
@@ -112,4 +111,4 @@ func TestCodeIn(t *testing.T) {
if ok := CodeIn(err, 100); ok {
t.Fatalf("CodeIn not works: %v", err)
}
}
}