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 failing test on Windows #3037

Merged
merged 2 commits into from
Jul 2, 2023
Merged

Fix failing test on Windows #3037

merged 2 commits into from
Jul 2, 2023

Conversation

imor
Copy link
Contributor

@imor imor commented May 18, 2023

PR Type

Other

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

Overview

The test files::tests::custom_files_listing_renderer was failing on Windows because it was expecting non-Windows path separators in the body. This is fixed by parsing the body into a Path and comparing that instead of directly comparing strings.

@imor
Copy link
Contributor Author

imor commented May 18, 2023

It's weird that this test fails in CI as well but still the CI is green. For example, see here: https://github.com/actix/actix-web/actions/runs/4662131549/jobs/8252162245?pr=2996

@JohnTitor JohnTitor added A-files project: actix-files B-semver-norelease change that does not require a release labels Jun 23, 2023
@JohnTitor
Copy link
Member

Thanks!

@JohnTitor JohnTitor enabled auto-merge (squash) June 23, 2023 12:04
@JohnTitor JohnTitor merged commit 4eeb014 into actix:master Jul 2, 2023
12 checks passed
@imor imor deleted the fix-failing-test branch July 2, 2023 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-files project: actix-files B-semver-norelease change that does not require a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants