From 2490d360dca2ae87f872fbd0d4476da177a8e3e2 Mon Sep 17 00:00:00 2001
From: zzjc1234 <2359047351@qq.com>
Date: Sat, 11 May 2024 22:18:38 +0800
Subject: [PATCH] test

---
 expected.json      | 52 +---------------------------------------------
 expected.json_real | 51 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+), 51 deletions(-)
 create mode 100644 expected.json_real

diff --git a/expected.json b/expected.json
index 2bbed63..2739e94 100644
--- a/expected.json
+++ b/expected.json
@@ -1,51 +1 @@
-[
-    {
-        "name of check": "RepoSize",
-        "stdout": "Checking repository size: OK",
-        "exit code": 0,
-        "stderr": "",
-        "errorLog": null
-    },
-    {
-        "name of check": "forbiddenFile",
-        "stdout": "Checking forbidden files: Failed",
-        "exit code": 101,
-        "stderr": "103the following forbidden files were found: examples/healthcheck/reposize/conf.toml, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/reposize/conf.toml ; do git filter-repo --force --invert-paths --path \\\"\\$i\\\"; done\ngit remote add origin \ngit push --set-upstream origin  --force",
-        "errorLog": null
-    },
-    {
-        "name of check": "metaFile",
-        "stdout": "Checking the existence of meta file: Failed",
-        "exit code": 104,
-        "stderr": "1 important project files missing\n\tno readme \\.* file found\n",
-        "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 of check": "ReleaseCheck",
-        "stdout": "Failed",
-        "exit code": 107,
-        "stderr": "wrong release tag, please use one of  aborting",
-        "errorLog": null
-    },
-    {
-        "name of check": "verifyFile",
-        "stdout": "Checking files to be verified: FailedFailedFailedFailedFailed!",
-        "exit code": 101,
-        "stderr": "File is not identicalFile missingFile missingFile missing",
-        "errorLog": null
-    }
-]
\ No newline at end of file
+[{"name":"dummy","results":[{"score":110,"comment":"dummy comment + comment from toml conf"}]}]
diff --git a/expected.json_real b/expected.json_real
new file mode 100644
index 0000000..2bbed63
--- /dev/null
+++ b/expected.json_real
@@ -0,0 +1,51 @@
+[
+    {
+        "name of check": "RepoSize",
+        "stdout": "Checking repository size: OK",
+        "exit code": 0,
+        "stderr": "",
+        "errorLog": null
+    },
+    {
+        "name of check": "forbiddenFile",
+        "stdout": "Checking forbidden files: Failed",
+        "exit code": 101,
+        "stderr": "103the following forbidden files were found: examples/healthcheck/reposize/conf.toml, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/reposize/conf.toml ; do git filter-repo --force --invert-paths --path \\\"\\$i\\\"; done\ngit remote add origin \ngit push --set-upstream origin  --force",
+        "errorLog": null
+    },
+    {
+        "name of check": "metaFile",
+        "stdout": "Checking the existence of meta file: Failed",
+        "exit code": 104,
+        "stderr": "1 important project files missing\n\tno readme \\.* file found\n",
+        "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 of check": "ReleaseCheck",
+        "stdout": "Failed",
+        "exit code": 107,
+        "stderr": "wrong release tag, please use one of  aborting",
+        "errorLog": null
+    },
+    {
+        "name of check": "verifyFile",
+        "stdout": "Checking files to be verified: FailedFailedFailedFailedFailed!",
+        "exit code": 101,
+        "stderr": "File is not identicalFile missingFile missingFile missing",
+        "errorLog": null
+    }
+]
\ No newline at end of file