-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Go] test picoschema with yaml test cases (#528)
Use the yaml file of test cases to test the Go picoschema implementation. This uncovered a few problems. Some new features were implemented in JS but not in Go; they are implemented here. More seriously, it was discovered that the JSON schema package we are using, github.com/invopop/jsonschema, does not support arrays for the "type" field, and probably never will (see invopop/jsonschema#134). Tests that require that are skipped.
- Loading branch information
Showing
4 changed files
with
152 additions
and
195 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
Oops, something went wrong.