Skip to content

Commit

Permalink
testscript: adapt to another Go 1.18 tip change
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mvdan committed Oct 14, 2021
1 parent 86f73c5 commit 426834f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
steps:
- name: Install Go
env:
GO_COMMIT: d0dd26a88c019d54f22463daae81e785f5867565 # 2021-09-23
GO_COMMIT: d032b2b2c8235ef25275405f6655866f2c81661d # 2021-10-12
run: |
cd $HOME
mkdir $HOME/gotip
Expand Down
2 changes: 1 addition & 1 deletion testscript/exe_go118.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func mainStart() *testing.M {
// Note: corpusEntry is an anonymous struct type used by some method stubs.
type corpusEntry = struct {
Parent string
Name string
Path string
Data []byte
Values []interface{}
Generation int
Expand Down

0 comments on commit 426834f

Please sign in to comment.