aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata/testwinlibthrow
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2022-10-18 12:34:50 -0700
committerGopher Robot <gobot@golang.org>2022-10-19 22:01:11 +0000
commit27f094b17cf1e0495515614476ec9137c0ed0a82 (patch)
tree47bfcdce04c93e652443e40a2ec1d203e1ef4c19 /src/runtime/testdata/testwinlibthrow
parent35e54da99640110845086d30ba0b8f69a3ebd3c2 (diff)
downloadgo-27f094b17cf1e0495515614476ec9137c0ed0a82.tar.xz
go/types, types2: consolidate helper functions for tests (cleanup)
Instead of having various inconsistent helper functions, rely on 4 helper functions with consistent naming and parameters: - parse and mustParse - typecheck and mustTypecheck Panic rather than call t.Fatal in the mustX functions to simplify their use. Use the new functions in tests consistently. Change-Id: Ib19dc5cc470b51512c23c09df32c379dc3eb8f4b Reviewed-on: https://go-review.googlesource.com/c/go/+/443757 Reviewed-by: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/runtime/testdata/testwinlibthrow')
0 files changed, 0 insertions, 0 deletions