-
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.
encoding/jsonschema: use StrictFeatures in external tests
The spec specifically says that unknown keywords should be ignored, so use `StrictFeatures` in the external tests so they correspond better to the spec. Also, use `StrictFeatures` rather than `Strict` in one of the constraints, as we should never be using `Strict` as a condition. Signed-off-by: Roger Peppe <[email protected]> Change-Id: If4d66285b6a9f77bb6ae4915a4818967290578f2 Dispatch-Trailer: {"type":"trybot","CL":1201117,"patchset":3,"ref":"refs/changes/17/1201117/3","targetBranch":"master"}
- Loading branch information
Showing
12 changed files
with
41 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Generated by teststats. DO NOT EDIT | ||
v2: | ||
schema extract (pass / total): 1072 / 1637 = 65.5% | ||
tests (pass / total): 3457 / 7175 = 48.2% | ||
tests on extracted schemas (pass / total): 3457 / 3874 = 89.2% | ||
schema extract (pass / total): 1077 / 1637 = 65.8% | ||
tests (pass / total): 3467 / 7175 = 48.3% | ||
tests on extracted schemas (pass / total): 3467 / 3884 = 89.3% | ||
|
||
v3: | ||
schema extract (pass / total): 1060 / 1637 = 64.8% | ||
tests (pass / total): 3408 / 7175 = 47.5% | ||
tests on extracted schemas (pass / total): 3408 / 3830 = 89.0% | ||
schema extract (pass / total): 1065 / 1637 = 65.1% | ||
tests (pass / total): 3418 / 7175 = 47.6% | ||
tests on extracted schemas (pass / total): 3418 / 3840 = 89.0% |
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
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
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