Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文件命名不符合 Go 测试约定,
go test不会识别当前为
test.go且仅含package声明;Go 仅识别*_test.go中的TestXxx(*testing.T)作为测试。请重命名并补充最小可运行的测试函数。应用如下调整(并将文件名改为
akuma/akuma_test.go):或采用外部测试包以黑盒方式测试:
🤖 Prompt for AI Agents
🧩 Analysis chain
补充快速自检脚本,确保后续 PR 至少包含一个测试用例
用以下脚本静态验证是否存在
*_test.go与TestXxx:🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 350
新增自检脚本并添加至少一个测试用例(akuma/)
akuma/test.go 仅包含 package 声明;仓库未发现任何 *_test.go 文件或 TestXxx 函数。新增至少一个 *_test.go,并在 CI/PR 检查中加入下列快速检测脚本: