Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[勘误]反馈一个第7章7.1.3的测试命令问题 #46

Open
Yanshaoshuai opened this issue Mar 17, 2022 · 0 comments
Open

[勘误]反馈一个第7章7.1.3的测试命令问题 #46

Yanshaoshuai opened this issue Mar 17, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Yanshaoshuai
Copy link

问题描述
go test example_test.go 执行报错:
.\example_test.go:12:2: undefined: SayHello
.\example_test.go:17:2: undefined: SayGoodbye
.\example_test.go:24:2: undefined: PrintNames
FAIL command-line-arguments [build failed]

如何找到这个错误

  • 章节:第7章
  • 页码:161页

您认为应该如何?
应该改成:
go test example_test.go example.go
图片
如果有可能,尽量提供图片。
Snipaste_2022-03-17_22-41-02

其他补充信息

@Yanshaoshuai Yanshaoshuai added the bug Something isn't working label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants