Skip to content

Commit

Permalink
Add test data
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Feb 9, 2024
1 parent 1246224 commit 8142f8e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _testdata/custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ haya14busa
function f()
{
}

# Severity test
test INFO

Check notice on line 20 in _testdata/custom.txt

View workflow job for this annotation

GitHub Actions / custom-rdjson

[custom-rdjson] _testdata/custom.txt#L20

severity test INFO
Raw output
message:"severity test INFO" location:{path:"_testdata/custom.txt" range:{start:{line:20}}}
test WARNING

Check notice on line 21 in _testdata/custom.txt

View workflow job for this annotation

GitHub Actions / custom-rdjson

[custom-rdjson] _testdata/custom.txt#L21

severity test WARNING
Raw output
message:"severity test WARNING" location:{path:"_testdata/custom.txt" range:{start:{line:21}}}
test ERROR

Check notice on line 22 in _testdata/custom.txt

View workflow job for this annotation

GitHub Actions / custom-rdjson

[custom-rdjson] _testdata/custom.txt#L22

severity test ERROR
Raw output
message:"severity test ERROR" location:{path:"_testdata/custom.txt" range:{start:{line:22}}}
33 changes: 33 additions & 0 deletions _testdata/custom_rdjson.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,39 @@
}
}
]
},
{
"message": "severity test INFO",
"location": {
"path": "_testdata/custom.txt",
"range": {
"start": {
"line": 20
}
}
}
},
{
"message": "severity test WARNING",
"location": {
"path": "_testdata/custom.txt",
"range": {
"start": {
"line": 21
}
}
}
},
{
"message": "severity test ERROR",
"location": {
"path": "_testdata/custom.txt",
"range": {
"start": {
"line": 22
}
}
}
}
]
}

0 comments on commit 8142f8e

Please sign in to comment.