mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 21:54:10 -08:00
Update pkg/labels/regexp_test.go
Co-authored-by: Peter Štibraný <peter.stibrany@grafana.com>
This commit is contained in:
parent
969497c5a3
commit
f7f80a3abf
|
@ -109,7 +109,7 @@ func TestFindSetMatches(t *testing.T) {
|
|||
{"^foo$", []string{"foo"}},
|
||||
// Simple sets alternates.
|
||||
{"foo|bar|zz", []string{"foo", "bar", "zz"}},
|
||||
// Simple sets alternate and concat (bar|baz is parsed as ba(r|z)).
|
||||
// Simple sets alternate and concat (bar|baz is parsed as "ba[rz]").
|
||||
{"foo|bar|baz", []string{"foo", "bar", "baz"}},
|
||||
// Simple sets alternate and concat and capture
|
||||
{"foo|bar|baz|(zz)", []string{"foo", "bar", "baz", "zz"}},
|
||||
|
|
Loading…
Reference in a new issue