Skip to content

Commit

Permalink
Run tests on Go 1.19 (#309)
Browse files Browse the repository at this point in the history
* Run tests on Go 1.19

* Format comment

Finish the rest of the work for #304

Co-authored-by: Damien Neil <neild@users.noreply.github.com>
  • Loading branch information
Aoang and neild committed Aug 31, 2022
1 parent 6606d4d commit 377d283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -17,5 +17,5 @@ jobs:
- name: Test
run: go test -v -race ./...
- name: Format
if: matrix.go-version == '1.18.x'
if: matrix.go-version == '1.19.x'
run: diff -u <(echo -n) <(gofmt -d .)
2 changes: 1 addition & 1 deletion cmp/cmpopts/util_test.go
Expand Up @@ -1072,7 +1072,7 @@ func TestOptions(t *testing.T) {
}, {
label: "AcyclicTransformer",
x: "this is a sentence",
y: "this is a sentence",
y: "this is a sentence",
opts: []cmp.Option{
AcyclicTransformer("", strings.Fields),
},
Expand Down

0 comments on commit 377d283

Please sign in to comment.