rogpeppe / go-internal

Selected Go-internal packages factored out from the standard library
BSD 3-Clause "New" or "Revised" License
823 stars 67 forks source link

cmd/testscript: remove redundant use of Failed #257

Closed rogpeppe closed 2 weeks ago

rogpeppe commented 2 weeks ago

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.