Skip to content

Commit

Permalink
Update record/replay files for Go 1.18
Browse files Browse the repository at this point in the history
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
  • Loading branch information
anthonyfok committed Apr 12, 2022
1 parent 9d78e0a commit e65c92e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: [1.17.x]
go-version: [1.18.x]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
example.com/foo/wire.go:x:y: not enough arguments in call to wire.Bind
example.com/foo/wire.go:x:y: not enough arguments in call to wire.Bind
have (*Fooer)
want (interface{}, interface{})
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
example.com/foo/wire.go:x:y: not enough arguments in call to wire.InterfaceValue
example.com/foo/wire.go:x:y: not enough arguments in call to wire.InterfaceValue
have (string)
want (interface{}, interface{})

0 comments on commit e65c92e

Please sign in to comment.