Skip to content

Commit e65c92e

Browse files
committed
Update record/replay files for Go 1.18
This fixes error message mismatch in InterfaceBindingNotEnoughArgs and InterfaceValueNotEnoughArgs with Go 1.18. The Go version in tests.yml GitHub workflow is updated accordingly. Fixes google#355
1 parent 9d78e0a commit e65c92e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Diff for: .github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
22-
go-version: [1.17.x]
22+
go-version: [1.18.x]
2323
runs-on: ${{ matrix.os }}
2424
steps:
2525
- name: Install Go
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
example.com/foo/wire.go:x:y: not enough arguments in call to wire.Bind
1+
example.com/foo/wire.go:x:y: not enough arguments in call to wire.Bind
2+
have (*Fooer)
3+
want (interface{}, interface{})
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
example.com/foo/wire.go:x:y: not enough arguments in call to wire.InterfaceValue
1+
example.com/foo/wire.go:x:y: not enough arguments in call to wire.InterfaceValue
2+
have (string)
3+
want (interface{}, interface{})

0 commit comments

Comments
 (0)