Merge pull request #939 from gozeloglu/fix-typo

Fix typo
This commit is contained in:
Björn Rabenstein 2021-11-29 13:18:11 +01:00 committed by GitHub
commit 6d5cf25fcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)