Skip to content

Commit 3d718d5

Browse files
committed
Removed / modified some tests to exclude the case of multiple metric names - this case will now throw an error and is tested in expected Fail cases
1 parent 392d272 commit 3d718d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

parser_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ func TestParseSuccess(t *testing.T) {
179179
another(`sum(x) by (b\x7Ca)`, `sum(x) by(b\|a)`)
180180

181181
// Duplicate filters
182-
//same(`foo{__name__="bar"}`)
183-
//same(`foo{a="b",a="c",__name__="aaa",b="d"}`)
182+
same(`foo{a="b",a="c",b="d"}`)
184183
same(`{a="b",a="c",b="d"}`)
185184

186185
// Metric filters ending with comma

0 commit comments

Comments
 (0)