Skip to content

Commit

Permalink
Add sort and sort_desc to TestFunctionDeduplicateAndMerge
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskorn committed Feb 4, 2025
1 parent a9a21b1 commit be6e2b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/streamingpromql/functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ func TestFunctionDeduplicateAndMerge(t *testing.T) {
"sgn": `sgn({__name__=~"float.*"})`,
"sin": `sin({__name__=~"float.*"})`,
"sinh": `sinh({__name__=~"float.*"})`,
"sort": `<skip>`, // sort() and sort_desc() don't drop the metric name, so this test doesn't apply.
"sort_desc": `<skip>`, // sort() and sort_desc() don't drop the metric name, so this test doesn't apply.
"sqrt": `sqrt({__name__=~"float.*"})`,
"sum_over_time": `sum_over_time({__name__=~"float.*"}[1m])`,
"tan": `tan({__name__=~"float.*"})`,
Expand Down

0 comments on commit be6e2b2

Please sign in to comment.