Skip to content

Commit

Permalink
Removed / modified some tests to exclude the case of multiple metric …
Browse files Browse the repository at this point in the history
…names - this case will now throw an error and is tested in expected Fail cases
  • Loading branch information
possibull committed Jan 23, 2025
1 parent 392d272 commit 3d718d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ func TestParseSuccess(t *testing.T) {
another(`sum(x) by (b\x7Ca)`, `sum(x) by(b\|a)`)

// Duplicate filters
//same(`foo{__name__="bar"}`)
//same(`foo{a="b",a="c",__name__="aaa",b="d"}`)
same(`foo{a="b",a="c",b="d"}`)
same(`{a="b",a="c",b="d"}`)

// Metric filters ending with comma
Expand Down

0 comments on commit 3d718d5

Please sign in to comment.