MCPcopy
hub / github.com/RainbowMango/GoExpertProgramming / ExampleSayGoodbye

Function ExampleSayGoodbye

source/gotest/example_test.go:12–17  ·  view source on GitHub ↗

检测多行输出

()

Source from the content-addressed store, hash-verified

10
11// 检测多行输出
12func ExampleSayGoodbye() {
13 gotest.SayGoodbye()
14 // OutPut:
15 // Hello,
16 // goodbye
17}
18
19// 检测乱序输出
20func ExamplePrintNames() {

Callers

nothing calls this directly

Calls 1

SayGoodbyeFunction · 0.92

Tested by

no test coverage detected