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
assert tests an expression and outputs data that, confusingly, may not be related to it. This helper doesn't actually use run to capture $status and $output when it tests the expression, but displays the values set during the most recent invocation of run.
When $status and/or $output is important, run and the appropriate assertion should be used instead.
_Note:_ I'm already working on a fix that should be upstream soon. I opened the issue just to document the bug.
Issue
assert
tests an expression and outputs data that, confusingly, may not be related to it. This helper doesn't actually userun
to capture$status
and$output
when it tests the expression, but displays the values set during the most recent invocation ofrun
.When
$status
and/or$output
is important,run
and the appropriate assertion should be used instead._Note:_ I'm already working on a fix that should be upstream soon. I opened the issue just to document the bug.
Example
Tests:
Output:
The text was updated successfully, but these errors were encountered: