Skip to content

Added TestFailure and TestSuccess#346

Open
johnw42 wants to merge 1 commit intoBurntSushi:masterfrom
johnw42:test-failure
Open

Added TestFailure and TestSuccess#346
johnw42 wants to merge 1 commit intoBurntSushi:masterfrom
johnw42:test-failure

Conversation

@johnw42
Copy link
Copy Markdown

@johnw42 johnw42 commented Mar 27, 2026

The goal of this PR is to enable using the ? operator in test code to return errors early. This is useful when the test case is factored into multiple functions. Refer to the changes in seive.rs for a toy example.

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.

1 participant