aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux_test.go
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-09-06 18:09:11 -0700
committerGopher Robot <gobot@golang.org>2022-09-08 21:19:00 +0000
commit3585e9be670fc76e1bc4d4bfa452ee8798a127f2 (patch)
tree1e34f6753ecd7432932edb6785635e5f5220a011 /src/syscall/exec_linux_test.go
parentd75e91740a2048bba4c70e878a4cd3551e7b2273 (diff)
downloadgo-3585e9be670fc76e1bc4d4bfa452ee8798a127f2.tar.xz
os: fix wrong error msg from TestDoubleCloseError
When the type assertion fails, the test mistakenly prints the expected (rather than the actual) type. When the error string doesn't match, the text mistakenly prints the original (rather than the converted) error (although there might not be any difference in the output, the code looks wrong). Fix both issues. Change-Id: Ia7dd0632fc677f458fec25d899c46268a12f76e7 Reviewed-on: https://go-review.googlesource.com/c/go/+/428916 Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
0 files changed, 0 insertions, 0 deletions