Re: [go-nuts] The effect go test -v flag on local directory mode and package list mode

2022-10-12 Thread jingguo yao
Got it. On Thu, Oct 13, 2022 at 7:13 AM Ian Lance Taylor wrote: > On Tue, Oct 11, 2022 at 8:42 PM Jingguo Yao wrote: > > > > I have the following directory layout: > > > > ├── bar > > │ └── bar_test.go > > ├── foo > > │ └── foo_test.go > > ├── go.mod > > └── go.sum > > > > > > foo_test.go:

Re: [go-nuts] The effect go test -v flag on local directory mode and package list mode

2022-10-12 Thread Ian Lance Taylor
On Tue, Oct 11, 2022 at 8:42 PM Jingguo Yao wrote: > > I have the following directory layout: > > ├── bar > │ └── bar_test.go > ├── foo > │ └── foo_test.go > ├── go.mod > └── go.sum > > > foo_test.go: > package main > > import ( > "fmt" > "testing" > ) > > func TestHelloWorld(t *testin

[go-nuts] The effect go test -v flag on local directory mode and package list mode

2022-10-11 Thread Jingguo Yao
I have the following directory layout: ├── bar │ └── bar_test.go ├── foo │ └── foo_test.go ├── go.mod └── go.sum foo_test.go: package main import ( "fmt" "testing" ) func TestHelloWorld(t *testing.T) { fmt.Println("hello, foo") t.Log("hi, foo") } bar_test.go: package bar