保留日志横幅中的结构化证据并记录浏览器验收
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-09-09 01:20:23 +08:00
1 parent bb4ac4d5f5
commit c4e9a2fa61
3 files changed
+10 -1

No files matched your search

+1
View File
@@ -49,6 +49,7 @@ func TestRuntimeLogStartupPresentation(t *testing.T) {
header + "[" + source + ":39]***\t未知启动消息",
header + "[other/app.go:39]***\tBuild Date: 保留业务消息",
header + "[" + source + ":39]Build Date: 不属于横幅",
header + "[" + source + ":39]***\tBuild Date: old {\"error\":\"必须保留\"}",
strings.Replace(header, "[info]", "[warning]", 1) + "[" + source + ":39]***\tBuild Date: 保留警告",
strings.Replace(header, "[info]", "[error]", 1) + "[" + source + ":39]********",
"[2026-09-08T14:55:23Z] 未知格式保留",