Skip to content

validate/validate_test: Handle JSON Schema test not raising an error#474

Merged
zhouhao3 merged 1 commit intoopencontainers:masterfrom
wking:json-schema-failed-to-raise-error-panic
Sep 18, 2017
Merged

validate/validate_test: Handle JSON Schema test not raising an error#474
zhouhao3 merged 1 commit intoopencontainers:masterfrom
wking:json-schema-failed-to-raise-error-panic

Conversation

@wking
Copy link
Copy Markdown
Contributor

@wking wking commented Sep 14, 2017

Without this, tests that expect an error tried to cast the nil to a multierror (which failed) and then tried to format a failure message with errs.Error() (which panicked).

Without this, tests that expect an error tried to cast the nil to a
multierror (which failed) and then tried to format a failure message
with errs.Error() (which panicked).

Signed-off-by: W. Trevor King <wking@tremily.us>
@Mashimiao Mashimiao added this to the v0.2.0 milestone Sep 15, 2017
@Mashimiao
Copy link
Copy Markdown

Mashimiao commented Sep 15, 2017

LGTM

Approved with PullApprove

1 similar comment
@zhouhao3
Copy link
Copy Markdown

zhouhao3 commented Sep 18, 2017

LGTM

Approved with PullApprove

@zhouhao3 zhouhao3 merged commit fd40b10 into opencontainers:master Sep 18, 2017
@wking wking deleted the json-schema-failed-to-raise-error-panic branch September 26, 2017 20:40
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