Skip to content

Commit

Permalink
Fix functions.test whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Kartago Lamida <[email protected]>
  • Loading branch information
lamida committed Jan 27, 2025
1 parent 5455467 commit 776e147
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkg/streamingpromql/testdata/upstream/functions.test
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ clear

# Test for absent()
eval instant at 50m absent(nonexistent)
{} 1
{} 1

eval instant at 50m absent(nonexistent{job="testjob", instance="testinstance", method=~".x"})
{instance="testinstance", job="testjob"} 1
Expand All @@ -1320,10 +1320,10 @@ eval instant at 50m absent(nonexistent{job="testjob",job="testjob2",foo="bar"})
{foo="bar"} 1

eval instant at 50m absent(nonexistent{job="testjob",job="testjob2",job="three",foo="bar"})
{foo="bar"} 1
{foo="bar"} 1

eval instant at 50m absent(nonexistent{job="testjob",job=~"testjob2",foo="bar"})
{foo="bar"} 1
{foo="bar"} 1

clear

Expand All @@ -1343,22 +1343,22 @@ eval instant at 50m absent(sum(http_requests_histogram))
clear

eval instant at 50m absent(sum(nonexistent{job="testjob", instance="testinstance"}))
{} 1
{} 1

eval instant at 50m absent(max(nonexistant))
{} 1
{} 1

eval instant at 50m absent(nonexistant > 1)
{} 1
{} 1

eval instant at 50m absent(a + b)
{} 1
{} 1

eval instant at 50m absent(a and b)
{} 1
{} 1

eval instant at 50m absent(rate(nonexistant[5m]))
{} 1
{} 1

clear

Expand Down

0 comments on commit 776e147

Please sign in to comment.