forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
starlark tests: use assert_fails(lambda) instead of '###' annotations
The new form avoids the need to put all errors at the end of a chunk. Instead, they can be grouped with the tests of successful operations. Not every instance was replaced; the ### notation is more convenient when exercising statements, or in situations where the regexp needs a lot of escaping. Also, a new --- chunk can help isolate side effects. No behavioral changes. PiperOrigin-RevId: 347390509
- Loading branch information
1 parent
0349360
commit ddf95df
Showing
19 changed files
with
560 additions
and
756 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
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
Oops, something went wrong.