Signed-off-by: Gökhan Özeloğlu <gozeloglu@gmail.com>
This commit is contained in:
Gökhan Özeloğlu 2021-11-25 11:21:10 +03:00
parent 1b145cad68
commit 55320aa8b0
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ func TestPush(t *testing.T) {
Collector(metric1). Collector(metric1).
Collector(metric2). Collector(metric2).
Push(); err == nil { Push(); err == nil {
t.Error("push with empty job succeded") t.Error("push with empty job succeeded")
} else { } else {
if got, want := err, errJobEmpty; got != want { if got, want := err, errJobEmpty; got != want {
t.Errorf("got error %q, want %q", got, want) t.Errorf("got error %q, want %q", got, want)