Skip to content

Commit

Permalink
chore: stricter comparison
Browse files Browse the repository at this point in the history
Co-authored-by: Arthur Silva Sens <[email protected]>
Signed-off-by: Manik Rana <[email protected]>
  • Loading branch information
Maniktherana and ArthurSens authored Sep 20, 2024
1 parent 4f0e6b9 commit b0f5711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/textparse/promparse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ func BenchmarkParse(b *testing.B) {
} {
for _, fn := range []string{"promtestdata.txt", "promtestdata.nometa.txt", "omtestdata.txt"} {
// we only want to benchmark om parsers with omtestdata
if fn == "omtestdata.txt" && parserName == "prometheus" {
if fn == "omtestdata.txt" && !strings.HasPrefix(fn, "openmetrics") {
continue
}

Expand Down

0 comments on commit b0f5711

Please sign in to comment.