-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #737 from vmware-tanzu/732-remove-when_null_skip
Remove unnecessary when_null_skip= keyword argument
- Loading branch information
Showing
9 changed files
with
25 additions
and
65 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
7 changes: 0 additions & 7 deletions
7
pkg/validations/filetests/when_null_skip=/false--runs-rules.tpltest
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
pkg/validations/filetests/when_null_skip=/rejects-non-bool-arg.tpltest
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
pkg/validations/filetests/when_null_skip=/true--and-not_null--runs-rules.tpltest
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,4 +1,4 @@ | ||
#@assert/validate when_null_skip=True, not_null=True | ||
#@assert/validate not_null=True | ||
foo: null | ||
|
||
+++ | ||
|
2 changes: 1 addition & 1 deletion
2
pkg/validations/filetests/when_null_skip=/true--and-value-is-null--skips-rules.tpltest
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
2 changes: 1 addition & 1 deletion
2
pkg/validations/filetests/when_null_skip=/true--and-value-not-null--runs-rules.tpltest
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