Skip to content

Commit 426834f

Browse files
committed
testscript: adapt to another Go 1.18 tip change
In https://go-review.googlesource.com/c/go/+/354632, one of the struct field names in corpusEntry got renamed. A minor change with a very easy fix. Still, this probably signals that we shouldn't release a tagged version with Go 1.18 support just yet, as it's still in flux. Bump the Go tip version we test against, too.
1 parent 86f73c5 commit 426834f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
steps:
4242
- name: Install Go
4343
env:
44-
GO_COMMIT: d0dd26a88c019d54f22463daae81e785f5867565 # 2021-09-23
44+
GO_COMMIT: d032b2b2c8235ef25275405f6655866f2c81661d # 2021-10-12
4545
run: |
4646
cd $HOME
4747
mkdir $HOME/gotip

testscript/exe_go118.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func mainStart() *testing.M {
1717
// Note: corpusEntry is an anonymous struct type used by some method stubs.
1818
type corpusEntry = struct {
1919
Parent string
20-
Name string
20+
Path string
2121
Data []byte
2222
Values []interface{}
2323
Generation int

0 commit comments

Comments
 (0)