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

Update Tests #2380

Closed
wants to merge 1 commit into from
Closed

Update Tests #2380

wants to merge 1 commit into from

Conversation

Adam-D-Lewis
Copy link
Member

Reference Issues or PRs

This is a continuation of @fangchenli's work - #1928 which I split into 2 PRs - this PR and #2348.

Updates tests

What does this implement/fix?

Put a x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features not to work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other (please describe):

Testing

  • Did you test the pull request locally?
  • Did you add new tests?

Any other comments?

Comment on lines +217 to 220
actual_message = result.stdout.lower().replace("\n", "")
assert (expected_message in actual_message) or (
expected_message.replace("-", " ").replace("_", " ") in actual_message
)
Copy link
Member Author

Choose a reason for hiding this comment

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

This change is wrong. The error message includes the file name so this could pass even if a problem it's meant to detect exists.

@Adam-D-Lewis Adam-D-Lewis deleted the testing_pr branch September 30, 2024 15:02
@Adam-D-Lewis Adam-D-Lewis restored the testing_pr branch September 30, 2024 15:02
@Adam-D-Lewis Adam-D-Lewis deleted the testing_pr branch September 30, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 💪🏾
Development

Successfully merging this pull request may close these issues.

1 participant