Skip to content

Commit 7c9e28d

Browse files
committed
Update diagnostics.expected for existing integration tests
1 parent c766f68 commit 7c9e28d

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

go/ql/integration-tests/all-platforms/go/diagnostics/build-constraints-exclude-all-go-files/diagnostics.expected

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
{
2+
"markdownMessage": "A single `go.mod` file was found.\n\n`go.mod`",
3+
"severity": "note",
4+
"source": {
5+
"extractorName": "go",
6+
"id": "go/autobuilder/single-root-go-mod-found",
7+
"name": "A single `go.mod` file was found in the root"
8+
},
9+
"visibility": {
10+
"cliSummaryTable": false,
11+
"statusPage": false,
12+
"telemetry": true
13+
}
14+
}
115
{
216
"markdownMessage": "`syscall/js` could not be imported. Make sure the `GOOS` and `GOARCH` [environment variables are correctly set](https://docs.github.com/en/actions/learn-github-actions/variables#defining-environment-variables-for-a-single-workflow). Alternatively, [change your OS and architecture](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#using-a-github-hosted-runner).",
317
"severity": "warning",

go/ql/integration-tests/all-platforms/go/diagnostics/go-files-found-not-processed/diagnostics.expected

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
{
2+
"markdownMessage": "2 `go.mod` files were found:\n\n`go.mod`, `subdir/go.mod`",
3+
"severity": "note",
4+
"source": {
5+
"extractorName": "go",
6+
"id": "go/autobuilder/multiple-go-mod-found-nested",
7+
"name": "Multiple `go.mod` files were found, all nested under one root `go.mod` file"
8+
},
9+
"visibility": {
10+
"cliSummaryTable": false,
11+
"statusPage": false,
12+
"telemetry": true
13+
}
14+
}
115
{
216
"markdownMessage": "[Specify a custom build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages) that includes one or more `go build` commands to build the `.go` files to be analyzed.",
317
"severity": "error",

go/ql/integration-tests/all-platforms/go/diagnostics/newer-go-version-needed/diagnostics.expected

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
{
2+
"markdownMessage": "A single `go.mod` file was found.\n\n`go.mod`",
3+
"severity": "note",
4+
"source": {
5+
"extractorName": "go",
6+
"id": "go/autobuilder/single-root-go-mod-found",
7+
"name": "A single `go.mod` file was found in the root"
8+
},
9+
"visibility": {
10+
"cliSummaryTable": false,
11+
"statusPage": false,
12+
"telemetry": true
13+
}
14+
}
115
{
216
"markdownMessage": "The detected version of Go is lower than the version specified in `go.mod`. [Install a newer version](https://github.com/actions/setup-go#basic).",
317
"severity": "error",

go/ql/integration-tests/all-platforms/go/diagnostics/package-not-found-with-go-mod/diagnostics.expected

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,17 @@
1212
"telemetry": true
1313
}
1414
}
15+
{
16+
"markdownMessage": "A single `go.mod` file was found.\n\n`go.mod`",
17+
"severity": "note",
18+
"source": {
19+
"extractorName": "go",
20+
"id": "go/autobuilder/single-root-go-mod-found",
21+
"name": "A single `go.mod` file was found in the root"
22+
},
23+
"visibility": {
24+
"cliSummaryTable": false,
25+
"statusPage": false,
26+
"telemetry": true
27+
}
28+
}

0 commit comments

Comments
 (0)