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

Cleanup test assertions #519

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

spacebear21
Copy link
Collaborator

The first commit aims to fix #421 - @nothingmuch is this close to what you had in mind?

The second commit mostly just improves legibility on integration/e2e test assertions.

This improves legibility by having tokio::select! return the test result
and calling `assert!` as a distinct step.
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 13059546986

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 78.544%

Totals Coverage Status
Change from base Build 13059350773: 0.04%
Covered Lines: 3646
Relevant Lines: 4642

💛 - Coveralls

Copy link
Collaborator

@nothingmuch nothingmuch left a comment

Choose a reason for hiding this comment

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

Apologies for the delay. utACK.

Yes, this addresses the specific problem I had encountered. Whether or not it should close the issue is debatable, depending on whether or not we want to systematically go looking for other examples, I'm happy to close it and open new specific issues as they come up.

@spacebear21 spacebear21 merged commit 4c311ee into payjoin:master Feb 5, 2025
6 checks passed
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 should not borg errors
3 participants