-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(ui): add some
tailstrict
call tests
- Loading branch information
Showing
4 changed files
with
62 additions
and
8 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
local f(x) = x; | ||
local f1() = f(std.trace("some trace", "some value")); | ||
local f2() = f(std.trace("some trace", "some value")) tailstrict; | ||
|
||
f(std.trace("some trace", "some value")) | ||
[f1(), f2()] |
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 |
---|---|---|
@@ -1,18 +1,43 @@ | ||
TRACE: some trace | ||
note: while evaluating call to `trace` | ||
--> in_arg.jsonnet:3:3 | ||
--> in_arg.jsonnet:2:16 | ||
| | ||
3 | f(std.trace("some trace", "some value")) | ||
| ------------------------------------- | ||
2 | local f1() = f(std.trace("some trace", "some value")); | ||
| ------------------------------------- | ||
note: while evaluating variable `x` | ||
--> in_arg.jsonnet:1:14 | ||
| | ||
1 | local f(x) = x; | ||
| - | ||
note: while evaluating call to `f` | ||
--> in_arg.jsonnet:3:1 | ||
--> in_arg.jsonnet:2:14 | ||
| | ||
3 | f(std.trace("some trace", "some value")) | ||
| ---------------------------------------- | ||
2 | local f1() = f(std.trace("some trace", "some value")); | ||
| ---------------------------------------- | ||
note: while evaluating call to `f1` | ||
--> in_arg.jsonnet:5:2 | ||
| | ||
5 | [f1(), f2()] | ||
| ---- | ||
note: while evaluating array item 0 | ||
note: during top-level value evaluation | ||
|
||
TRACE: some trace | ||
note: while evaluating call to `trace` | ||
--> in_arg.jsonnet:3:16 | ||
| | ||
3 | local f2() = f(std.trace("some trace", "some value")) tailstrict; | ||
| ------------------------------------- | ||
note: while evaluating variable `x` | ||
--> in_arg.jsonnet:3:14 | ||
| | ||
3 | local f2() = f(std.trace("some trace", "some value")) tailstrict; | ||
| --------------------------------------------------- | ||
note: while evaluating call to `f2` | ||
--> in_arg.jsonnet:5:8 | ||
| | ||
5 | [f1(), f2()] | ||
| ---- | ||
note: while evaluating array item 1 | ||
note: during top-level value evaluation | ||
|
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
"some value" | ||
[ | ||
"some value", | ||
"some value" | ||
] |