lib/promrelabel: fix expected test result (#2957)

follow-up after 68c4ec9472

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
Roman Khavronenko 2022-08-08 12:47:29 +02:00 committed by Aliaksandr Valialkin
parent aef7b33867
commit 056960102a
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -55,7 +55,7 @@ func TestRelabelConfigMarshalUnmarshal(t *testing.T) {
- regex:
- 'fo.+'
- '.*ba[r-z]a'
`, "- regex:\n - fo.+\n - .*ba[r-z]a\n")
`, "- regex: fo.+|.*ba[r-z]a\n")
f(`- regex: foo|bar`, "- regex:\n - foo\n - bar\n")
f(`- regex: True`, `- regex: "true"`+"\n")
f(`- regex: true`, `- regex: "true"`+"\n")