Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema: Add 'test' target to the Makefile #785

Merged
merged 1 commit into from
May 9, 2017

Conversation

wking
Copy link
Contributor

@wking wking commented Apr 27, 2017

And fill in some known-good and known-bad examples. We can make this as detailed as we want, but this commit just adds enough to know that:

  • The full-file spec examples are valid.
  • The JSON Schema can distinguish valid examples from invalid JSON.

This will help catch JSON Schema typos like those being addressed by #784 (and until that lands the Travis test for this PR will fail, which is what it's designed check).

@wking wking force-pushed the schema-tests branch 2 times, most recently from e4ef67d to e688390 Compare April 27, 2017 17:32
And fill in some known-good and known-bad examples.  We can make this
as detailed as we want, but this commit just adds enough to know that:

* The full-file spec examples are valid.
* The JSON Schema can distinguish valid examples from invalid JSON.

This will help catch JSON Schema typos like those being addressed by
[1].

[1]: opencontainers#784

Signed-off-by: W. Trevor King <wking@tremily.us>
@wking
Copy link
Contributor Author

wking commented May 9, 2017

Rebased onto master and fixed expected-failure validation with e6883900b7efd2. And now that #784 has landed, the tests pass.

@mrunalp
Copy link
Contributor

mrunalp commented May 9, 2017

LGTM

Approved with PullApprove

1 similar comment
@crosbymichael
Copy link
Member

crosbymichael commented May 9, 2017

LGTM

Approved with PullApprove

@crosbymichael crosbymichael merged commit 8976b0a into opencontainers:master May 9, 2017
@wking wking deleted the schema-tests branch May 9, 2017 23:49
@vbatts vbatts mentioned this pull request Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants