Fix typo
Signed-off-by: Gökhan Özeloğlu <gozeloglu@gmail.com>
This commit is contained in:
parent
1b145cad68
commit
55320aa8b0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue