Skip to content

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

@Yanshaoshuai

Description

@Yanshaoshuai

问题描述
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

其他补充信息

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions