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

Fix character set tests #1020

Merged
merged 3 commits into from
Jun 7, 2023

Conversation

MarkEWaite
Copy link
Contributor

Fix character set tests

  • Use collector consistently in the maintenance test
  • Set file encoding for tests
  • Remove flawed character set assertion

Checklist

Tests were broken when I removed the source file character set encoding argument, though the deleted assertions were incorrect long before that.

  • I have read the CONTRIBUTING doc
  • I have referenced the Jira issue related to my changes in one or more commit messages
  • I have added tests that verify my changes
  • Unit tests pass locally with my changes
  • I have added documentation as necessary
  • No Javadoc warnings were introduced with my changes
  • No spotbugs warnings were introduced with my changes
  • I have interactively tested my changes

Types of changes

  • Tests

Previous commit mistakenly used an assertion directly when it should
have used a collector so that the other assertions in the test would
be checked
Fix failing tests on Windows

Revert e69456b
Impressive the number of ways the assertions were wrong

Simplifies tests
@MarkEWaite MarkEWaite added the test Automated test addition or improvement label Jun 7, 2023
@github-actions github-actions bot removed the test Automated test addition or improvement label Jun 7, 2023
@MarkEWaite MarkEWaite added the test Automated test addition or improvement label Jun 7, 2023
@MarkEWaite MarkEWaite enabled auto-merge (rebase) June 7, 2023 00:34
@MarkEWaite MarkEWaite merged commit 0b04f7e into jenkinsci:master Jun 7, 2023
@MarkEWaite MarkEWaite deleted the fix-recent-test-failures branch June 7, 2023 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Automated test addition or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant