Skip to content

Commit 8b13493

Browse files
committed
change: 统一测试结果的表述
1 parent ec03390 commit 8b13493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def run(self):
7070
f.write(f"OUTPUT<<EOF\n{output}\nEOF\n")
7171
# 输出至作业摘要
7272
with open(os.environ["GITHUB_STEP_SUMMARY"], "a") as f:
73-
summary = f"插件 {self.project_link} 测试结果{'成功' if self._run else '失败'}\n"
73+
summary = f"插件 {self.project_link} 加载测试结果{'通过' if self._run else '未通过'}\n"
7474
summary += f"<details><summary>测试输出</summary><pre><code>{output}</code></pre></details>"
7575
f.write(f"{summary}")
7676

0 commit comments

Comments
 (0)