Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/testscript: remove redundant use of Failed #257

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

rogpeppe
Copy link
Owner

The call to T.Failed and its associated comment are a legacy of previous implementation. The comment isn't accurate and the call isn't necessary (FailNow is always called even when ContinueOnError is set). Deprecate the associated TFailed type rather than removing it.

@rogpeppe rogpeppe requested a review from mvdan June 10, 2024 20:40
The call to `T.Failed` and its associated comment are a
legacy of previous implementation. The comment isn't accurate and the
call isn't necessary (`FailNow` is always called even when `ContinueOnError`
is set). Deprecate the associated `TFailed` type rather than removing it.
@rogpeppe rogpeppe merged commit 8300480 into master Jun 10, 2024
6 checks passed
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.

2 participants