-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Add a helper function to ensure a given `{key, value}` tuple exists in the `suite/0` function of a test suite. If the function does not exist, it is created. The function is exported. If the `key` is already in the `suite/0` list its value is updated, otherwise it is added to the end. Reviewed By: jcpetruzza Differential Revision: D49643856 fbshipit-source-id: b0bd6fd6d77abf7a25706a74b082aa89ea422da0
- Loading branch information
1 parent
74004de
commit aeff0a5
Showing
4 changed files
with
387 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,6 +226,7 @@ pub mod known { | |
export_all, | ||
parse_transform, | ||
// Common Test framework | ||
suite, | ||
all, | ||
group, | ||
groups, | ||
|
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.