From 50dbbb5a76c178977c86cee2a108055743fb74e1 Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Sat, 25 May 2024 23:21:15 +0800 Subject: [PATCH] fix: out --- expected.json | 72 ++++++++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 33 deletions(-) diff --git a/expected.json b/expected.json index 46cf694..e9a5554 100644 --- a/expected.json +++ b/expected.json @@ -1,37 +1,43 @@ [ { - "name of check": "RepoSize", - "stdout": "Checking repository size: OK", - "exit code": 0, - "stderr": "", - "errorLog": null - }, - { - "name of check": "forbiddenFile", - "stdout": "Checking forbidden files: OK", - "exit code": 0, - "stderr": "", - "errorLog": null - }, - { - "name of check": "metaFile", - "stdout": "Checking the existence of meta file: OK", - "exit code": 0, - "stderr": "", - "errorLog": null - }, - { - "name of check": "NonAsciiFiles", - "stdout": "Checking for non-ascii files: OK", - "exit code": 0, - "stderr": "", - "errorLog": null - }, - { - "name of check": "NonAsciiMsg", - "stdout": "Checking for non-ASCII characters in commit message: OK", - "exit code": 0, - "stderr": "", - "errorLog": null + "name": "healthcheck", + "results": + [ + { + "name of check": "RepoSize", + "stdout": "Checking repository size: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + }, + { + "name of check": "forbiddenFile", + "stdout": "Checking forbidden files: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + }, + { + "name of check": "metaFile", + "stdout": "Checking the existence of meta file: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + }, + { + "name of check": "NonAsciiFiles", + "stdout": "Checking for non-ascii files: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + }, + { + "name of check": "NonAsciiMsg", + "stdout": "Checking for non-ASCII characters in commit message: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + } + ] } ]