-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: implement date-time format
This is a bit more restrictive than the spec allows, as the TODO comment suggests, but it's probably OK for now, and better than not supporting date-time at all. For #3479. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: Ib0302c1fcf5b6a2f0ca669d17907a599a5d4f11f Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202107 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
- Loading branch information
Showing
9 changed files
with
156 additions
and
303 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
# Generated by teststats. DO NOT EDIT | ||
v2: | ||
schema extract (pass / total): 993 / 1363 = 72.9% | ||
tests (pass / total): 3514 / 4803 = 73.2% | ||
tests on extracted schemas (pass / total): 3514 / 3801 = 92.4% | ||
tests (pass / total): 3513 / 4803 = 73.1% | ||
tests on extracted schemas (pass / total): 3513 / 3801 = 92.4% | ||
|
||
v3: | ||
schema extract (pass / total): 981 / 1363 = 72.0% | ||
tests (pass / total): 3475 / 4803 = 72.4% | ||
tests on extracted schemas (pass / total): 3475 / 3757 = 92.5% | ||
tests (pass / total): 3474 / 4803 = 72.3% | ||
tests on extracted schemas (pass / total): 3474 / 3757 = 92.5% | ||
|
||
Optional tests | ||
|
||
v2: | ||
schema extract (pass / total): 230 / 274 = 83.9% | ||
tests (pass / total): 1465 / 2372 = 61.8% | ||
tests on extracted schemas (pass / total): 1465 / 2258 = 64.9% | ||
tests (pass / total): 1505 / 2372 = 63.4% | ||
tests on extracted schemas (pass / total): 1505 / 2258 = 66.7% | ||
|
||
v3: | ||
schema extract (pass / total): 230 / 274 = 83.9% | ||
tests (pass / total): 1455 / 2372 = 61.3% | ||
tests on extracted schemas (pass / total): 1455 / 2258 = 64.4% | ||
tests (pass / total): 1495 / 2372 = 63.0% | ||
tests on extracted schemas (pass / total): 1495 / 2258 = 66.2% |
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.