Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions akuma/test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package akuma
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

文件名不符合 Go 测试约定,go test 不会执行

测试文件需以 _test.go 结尾。当前为 test.go,不会被测试框架发现与执行。请重命名为 akuma/akuma_test.go

可参考最小可运行骨架:

// akuma/akuma_test.go
package akuma

import "testing"

func TestPlaceholder(t *testing.T) {
	t.Skip("TODO: 补充针对 akuma 包的实际测试用例")
}
🤖 Prompt for AI Agents
In akuma/test.go around line 1, the filename doesn't follow Go test conventions
so `go test` won't run it; rename the file to akuma/akuma_test.go and create a
proper test file in the same package (package akuma) containing at least a
minimal test skeleton (e.g. a TestPlaceholder function that calls t.Skip with a
TODO message) so the test runner recognizes the file; ensure the new file
imports testing and uses the TestXxx naming convention for the function.

Loading