Skip to content
Snippets Groups Projects
Commit 6d759d64 authored by ale's avatar ale
Browse files

Update point_test.go

parent 8096e271
No related branches found
No related tags found
No related merge requests found
Pipeline #84222 failed
......@@ -21,7 +21,7 @@ func TestCounter(t *testing.T) {
t.Errorf("want '%v', got '%v'", want, got)
}
wanted := `Desc{fqName: "rsyslog_my counter", help: "", constLabels: {}, variableLabels: []}`
wanted := `Desc{fqName: "rsyslog_my counter", help: "", constLabels: {}, variableLabels: {}}`
if want, got := wanted, p1.promDescription().String(); want != got {
t.Errorf("want '%s', got '%s'", want, got)
}
......@@ -42,7 +42,7 @@ func TestGauge(t *testing.T) {
t.Errorf("want '%v', got '%v'", want, got)
}
wanted := `Desc{fqName: "rsyslog_my gauge", help: "", constLabels: {}, variableLabels: []}`
wanted := `Desc{fqName: "rsyslog_my gauge", help: "", constLabels: {}, variableLabels: {}}`
if want, got := wanted, p1.promDescription().String(); want != got {
t.Errorf("want '%s', got '%s'", want, got)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment