Skip to content

Commit 76a3ada

Browse files
authored
TestIntroduce => testIntroduce in demo52_test.go for the logic in the article
1 parent 8977dfe commit 76a3ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/puzzlers/article20/q0/demo52_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func TestHello(t *testing.T) {
3434
t.Logf("The expected greeting is %q.\n", expected)
3535
}
3636

37-
func TestIntroduce(t *testing.T) {
37+
func testIntroduce(t *testing.T) { // 请注意这个测试函数的名称。
3838
intro := introduce()
3939
expected := "Welcome to my Golang column."
4040
if intro != expected {

0 commit comments

Comments
 (0)