-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: use new
tests.toml
format (#292)
The previous format for a `tests.toml` file was like: ```toml [canonical-tests] # lowercase words "79ae3889-a5c0-4b01-baf0-232d31180c08" = true ``` This commit updates `configlet sync` so that it reads and writes each `tests.toml` file using the new format: ```toml # This is an auto-generated file. Regular comments will be removed when this # file is regenerated. Regenerating will not touch any manually added keys, # so comments can be added in a "comment" key. [79ae3889-a5c0-4b01-baf0-232d31180c08] description = "lowercase words" ``` Notes: - A missing `include` property implies `include = true`. - We remove any explicit `include = true` in a `tests.toml` file when that file is regenerated, which happens when `configlet` includes or excludes a new test case. - We try to preserve custom properties (where the key is named something other than `include` or `description`), but we do not currently preserve the existing whitespace. (ee7 wrote this commit message). Closes: #198 Closes: #207 Co-authored-by: ee7 <[email protected]>
- Loading branch information
Showing
4 changed files
with
162 additions
and
93 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