Skip to content

Commit 97832b9

Browse files
committed
Go: Remove invalid-go-toolchain-version from test expectations
This is reasonable because the tests use a new enough toolchain
1 parent 9d033bc commit 97832b9

3 files changed

Lines changed: 0 additions & 51 deletions

File tree

go/ql/integration-tests/diagnostics/invalid-toolchain-version/diagnostics.expected

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
{
2-
"location": {
3-
"file": "go.mod"
4-
},
5-
"markdownMessage": "As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).\n\n`1.21` in `go.mod` does not match this syntax and there is no additional `toolchain` directive, which may cause some `go` commands to fail.",
6-
"severity": "warning",
7-
"source": {
8-
"extractorName": "go",
9-
"id": "go/autobuilder/invalid-go-toolchain-version",
10-
"name": "Invalid Go toolchain version"
11-
},
12-
"visibility": {
13-
"cliSummaryTable": true,
14-
"statusPage": true,
15-
"telemetry": true
16-
}
17-
}
181
{
192
"markdownMessage": "A single `go.mod` file was found.\n\n`go.mod`",
203
"severity": "note",

go/ql/integration-tests/go-version-bump/diagnostics.expected

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
{
2-
"location": {
3-
"file": "go.mod"
4-
},
5-
"markdownMessage": "As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).\n\n`1.21` in `go.mod` does not match this syntax and there is no additional `toolchain` directive, which may cause some `go` commands to fail.",
6-
"severity": "warning",
7-
"source": {
8-
"extractorName": "go",
9-
"id": "go/autobuilder/invalid-go-toolchain-version",
10-
"name": "Invalid Go toolchain version"
11-
},
12-
"visibility": {
13-
"cliSummaryTable": true,
14-
"statusPage": true,
15-
"telemetry": true
16-
}
17-
}
181
{
192
"markdownMessage": "A single `go.mod` file was found.\n\n`go.mod`",
203
"severity": "note",

go/ql/integration-tests/resolve-build-environment/newer-go-needed/diagnostics.expected

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,3 @@
1-
{
2-
"location": {
3-
"file": "go.mod"
4-
},
5-
"markdownMessage": "As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).\n\n`1.22` in `go.mod` does not match this syntax and there is no additional `toolchain` directive, which may cause some `go` commands to fail.",
6-
"severity": "warning",
7-
"source": {
8-
"extractorName": "go",
9-
"id": "go/autobuilder/invalid-go-toolchain-version",
10-
"name": "Invalid Go toolchain version"
11-
},
12-
"visibility": {
13-
"cliSummaryTable": true,
14-
"statusPage": true,
15-
"telemetry": true
16-
}
17-
}
181
{
192
"markdownMessage": "A single `go.mod` file was found.\n\n`go.mod`",
203
"severity": "note",

0 commit comments

Comments
 (0)