]> Cypherpunks.ru repositories - gostls13.git/commit
test: check portable error message on issue46234.go
authorCherry Mui <cherryyz@google.com>
Tue, 18 May 2021 22:25:44 +0000 (18:25 -0400)
committerCherry Mui <cherryyz@google.com>
Wed, 19 May 2021 01:09:20 +0000 (01:09 +0000)
commit15a374d5c1336e9cc2f8b615477d5917e9477440
treec586cdb0cd728fee563c3b9109f18f720f3106bd
parenteeadce2d871358306f2a95b0cfbe809ea017932a
test: check portable error message on issue46234.go

issue46234.go expects an error output "segmentation violation",
which is UNIX-specific. Check for "nil pointer dereference"
instead, which is emitted by the Go runtime and should work on all
platforms.

Should fix Windows builders.

Change-Id: I3f5a66a687d43cae5eaf6a9e942b877e5a248900
Reviewed-on: https://go-review.googlesource.com/c/go/+/321072
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
test/fixedbugs/issue46234.go