Skip to content

Conversation

@hvitved
Copy link
Contributor

@hvitved hvitved commented Sep 16, 2025

No description provided.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Sep 16, 2025
@hvitved hvitved marked this pull request as ready for review September 16, 2025 11:14
Copilot AI review requested due to automatic review settings September 16, 2025 11:14
@hvitved hvitved requested a review from a team as a code owner September 16, 2025 11:14
@hvitved hvitved requested a review from paldepind September 16, 2025 11:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds pretty printing of models to the Rust RequestForgery test query to improve test output readability. The change updates the test configuration to include model information in the test results.

  • Adds PrettyPrintModels.ql as a postprocessing step before the existing InlineExpectationsTestQuery.ql
  • Updates the expected test output to include a models section with formatted model information

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
rust/ql/test/query-tests/security/CWE-918/RequestForgery.qlref Updates postprocess configuration to include pretty printing of models
rust/ql/test/query-tests/security/CWE-918/RequestForgery.expected Updates expected test output with new models section and reformatted MaD references

@hvitved
Copy link
Contributor Author

hvitved commented Sep 16, 2025

Duplicate of #20441.

@hvitved hvitved closed this Sep 16, 2025
@geoffw0
Copy link
Contributor

geoffw0 commented Sep 16, 2025

Yep, I should probably have shouted a bit louder about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants