]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add hook to check for GOEXPERIMENT in script tests
authorThan McIntosh <thanm@google.com>
Mon, 25 Apr 2022 14:09:47 +0000 (10:09 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 28 Sep 2022 11:49:00 +0000 (11:49 +0000)
commit06e8022ed43ea83d0d7d76366f4930903220bc25
treea235c4138ac572f879b0814011d6230f9639b918
parent5f18e4632897769f2abf80332c39b526697d1a1c
cmd/go: add hook to check for GOEXPERIMENT in script tests

Add a new hook to allow script tests to check whether a specific
GOEXPERIMENT is enabled.

Updates #51430.

Change-Id: Icdf39f845ff2c8b10c634d49e9c27bc90e7984f8
Reviewed-on: https://go-review.googlesource.com/c/go/+/402174
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/script_test.go
src/cmd/go/testdata/script/README
src/cmd/go/testdata/script/check_goexperiment.txt [new file with mode: 0644]