You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having tests return TestResult (Result<(), Error> objects), enables having assertions that don't panic, and also makes it possible to return from tests early.
Ideally this would be transparent to the user, so this ticket is to track the following implementation:
If the user manually specifies -> TestResult, they must manually call Ok(()) themselves,
If the user omits -> TestResult, then the test implicitly adds Ok(()) at the end
The text was updated successfully, but these errors were encountered:
Having tests return
TestResult
(Result<(), Error>
objects), enables having assertions that don't panic, and also makes it possible to return from tests early.Ideally this would be transparent to the user, so this ticket is to track the following implementation:
-> TestResult
, they must manually callOk(())
themselves,-> TestResult
, then the test implicitly addsOk(())
at the endThe text was updated successfully, but these errors were encountered: