-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix out of range error in numbers.range
Fixes #7269 Signed-off-by: Anders Eknert <[email protected]>
- Loading branch information
1 parent
be037b0
commit 90a447f
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
v1/test/cases/testdata/v1/numbersrange/test-numbersrange-issue-7269.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
cases: | ||
- note: numbersrange/issue 7269 | ||
query: data.test.p = x | ||
modules: | ||
- | | ||
package test | ||
p if numbers.range(0, 1) | ||
data: {} | ||
want_result: | ||
- x: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters