Skip to content

Commit

Permalink
Fix typos discovered by codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored and mvdan committed Jul 9, 2024
1 parent 5556500 commit 66960b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testscript/testscript.go
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ func (ts *TestScript) Check(err error) {
}

// Stdout returns an io.Writer that can be used by a user-supplied builtin
// command (delcared via Params.Cmds) to write to stdout. If this method is
// command (declared via Params.Cmds) to write to stdout. If this method is
// called outside of the execution of a user-supplied builtin command, the
// call panics.
func (ts *TestScript) Stdout() io.Writer {
Expand All @@ -923,7 +923,7 @@ func (ts *TestScript) Stdout() io.Writer {
}

// Stderr returns an io.Writer that can be used by a user-supplied builtin
// command (delcared via Params.Cmds) to write to stderr. If this method is
// command (declared via Params.Cmds) to write to stderr. If this method is
// called outside of the execution of a user-supplied builtin command, the
// call panics.
func (ts *TestScript) Stderr() io.Writer {
Expand Down Expand Up @@ -1209,7 +1209,7 @@ func (ts *TestScript) MkAbs(file string) string {
}

// ReadFile returns the contents of the file with the
// given name, intepreted relative to the test script's
// given name, interpreted relative to the test script's
// current directory. It interprets "stdout" and "stderr" to
// mean the standard output or standard error from
// the most recent exec or wait command respectively.
Expand Down

0 comments on commit 66960b6

Please sign in to comment.