8000 Tests: Fix test suite for SARIF formatter by m-ildefons · Pull Request #754 · hadolint/hadolint · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tests: Fix test suite for SARIF formatter #754

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

Merged
merged 1 commit into from
Jan 1, 2022

Conversation

m-ildefons
Copy link
Collaborator
  • Test the result of the SARIF formatter by re-decoding the result and
    comparing it against a known good JSON value. This removes the tests
    dependence on the order the elemets of JSON object are printed in, which
    is not necessarily deterministic.

  • Extend the test suite for the SARIF formatter to test non-empty
    linting results.

possibly fixes: #753

- Test the result of the SARIF formatter by re-decoding the result and
comparing it against a known good JSON value. This removes the tests
dependence on the order the elemets of JSON object are printed in, which
is not necessarily deterministic.

- Extend the test suite for the SARIF formatter to test non-empty
linting results.
@lorenzo lorenzo merged commit 07f8e1a into hadolint:master Jan 1, 2022
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.

Tests start failing with unordered-containers 0.2.16.0
2 participants
0