forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli::tests: program: Clarify all
unwrap_err()
.
`unwrap_err()` does not contain a descriptive message for the case when it succeeds. It may help someone debugging the test, in particular they will see a short explanation without looking at the failed test. Also, in a number of cases, `unwrap_err()` result was not checked, creating a possibility for false positives. As the generated error might be different from the one expected by the test author.
- Loading branch information
1 parent
637666b
commit b753b72
Showing
1 changed file
with
115 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters