Skip to content

Commit 377d283

Browse files
Aoangneild
andauthored
Run tests on Go 1.19 (#309)
* Run tests on Go 1.19 * Format comment Finish the rest of the work for #304 Co-authored-by: Damien Neil <[email protected]>
1 parent 6606d4d commit 377d283

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test:
55
strategy:
66
matrix:
7-
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
7+
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x]
88
os: [ubuntu-latest, macos-latest]
99
runs-on: ${{ matrix.os }}
1010
steps:
@@ -17,5 +17,5 @@ jobs:
1717
- name: Test
1818
run: go test -v -race ./...
1919
- name: Format
20-
if: matrix.go-version == '1.18.x'
20+
if: matrix.go-version == '1.19.x'
2121
run: diff -u <(echo -n) <(gofmt -d .)

cmp/cmpopts/util_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ func TestOptions(t *testing.T) {
10721072
}, {
10731073
label: "AcyclicTransformer",
10741074
x: "this is a sentence",
1075-
y: "this is a sentence",
1075+
y: "this is a sentence",
10761076
opts: []cmp.Option{
10771077
AcyclicTransformer("", strings.Fields),
10781078
},

0 commit comments

Comments
 (0)