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:
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
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