aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/mathbits.go
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2020-04-03 18:57:46 +0200
committerBryan C. Mills <bcmills@google.com>2020-04-03 17:51:12 +0000
commite31d741801514f2a008625fd246644d2214f4516 (patch)
tree586d22a93ec3316f83a38739917363287691f96a /test/codegen/mathbits.go
parentc4f875e84e6ce3c09045fd00b72e4bb830d3e40e (diff)
downloadgo-e31d741801514f2a008625fd246644d2214f4516.tar.xz
flag: fix TestExitCode on Plan 9
CL 221427 added TestExitCode. This test is failing on Plan 9 because ExitCode is always equal to 1 on error since Plan 9 use error strings. This change fixes TestExitCode by checking that ExitCode is equal to 1 on error instead of the specific value. Fixes #38237. Change-Id: Ie269722e731e275e5bfc51644c1fa6be76525f1f Reviewed-on: https://go-review.googlesource.com/c/go/+/227158 Run-TryBot: David du Colombier <0intro@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'test/codegen/mathbits.go')
0 files changed, 0 insertions, 0 deletions