Skip to content

Cleanup test assertions#519

Merged
spacebear21 merged 2 commits intopayjoin:masterfrom
spacebear21:show-test-error-details
Feb 5, 2025
Merged

Cleanup test assertions#519
spacebear21 merged 2 commits intopayjoin:masterfrom
spacebear21:show-test-error-details

Conversation

@spacebear21
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

@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
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