Skip to content

Commit 66960b6

Browse files
cclaussmvdan
authored andcommitted
1 parent 5556500 commit 66960b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: testscript/testscript.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ func (ts *TestScript) Check(err error) {
911911
}
912912

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

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

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

0 commit comments

Comments
 (0)