feat. nonascii test
This commit is contained in:
parent
7d145c4172
commit
7edfd830a9
|
@ -1,36 +1,13 @@
|
||||||
|
[
|
||||||
[{
|
|
||||||
"name of check" : "RepoSize",
|
|
||||||
"stdout" : "Checking repository size: OK",
|
|
||||||
"exit code" : 0,
|
|
||||||
"stderr" : "",
|
|
||||||
"errorLog" : null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name of check" : "forbiddenFile",
|
"name": "healthcheck",
|
||||||
"stdout" : "Checking forbidden files: OK",
|
"results": [
|
||||||
"exit code" : 0,
|
|
||||||
"stderr" : "",
|
|
||||||
"errorLog" : null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name of check" : "metaFile",
|
"stdout": "Checking for non-ascii files: Failed",
|
||||||
"stdout" : "Checking the existence of meta file: OK",
|
"exit code": 1,
|
||||||
"exit code" : 0,
|
"stderr": "Non-ASCII characters found in the following files:\n\texamples/repohealth/asciifile/nonascii.txt",
|
||||||
"stderr" : "",
|
"errorLog": null
|
||||||
"errorLog" : null
|
}
|
||||||
},
|
]
|
||||||
{
|
}
|
||||||
"name of check" : "NonAsciiFiles",
|
]
|
||||||
"stdout" : "Checking for non-ascii files: Failed",
|
|
||||||
"exit code" : 1,
|
|
||||||
"stderr" : "Non-ASCII characters found in the following files:\n\texamples/repohealth/asciifile/nonascii.txt",
|
|
||||||
"errorLog" : null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name of check" : "NonAsciiMsg",
|
|
||||||
"stdout" : "Checking for non-ASCII characters in commit message: OK",
|
|
||||||
"exit code" : 0,
|
|
||||||
"stderr" : "",
|
|
||||||
"errorLog" : null
|
|
||||||
}]
|
|
11
refet.json
Normal file
11
refet.json
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "dummy",
|
||||||
|
"results": [
|
||||||
|
{
|
||||||
|
"score": 110,
|
||||||
|
"comment": "dummy comment + comment from toml conf"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user