mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-06 17:22:09 +00:00
fix-panic-on-shutdown-server added test for const values parsing
This commit is contained in:
parent
725b163161
commit
734dc50972
@ -249,6 +249,10 @@ func (s *FunctionalSuite) TestParseConstLabels(c *C) {
|
|||||||
"a": "b",
|
"a": "b",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
s: "a=",
|
||||||
|
labels: prometheus.Labels{},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, cs := range cases {
|
for _, cs := range cases {
|
||||||
|
Loading…
Reference in New Issue
Block a user