hellogomod/hello_test.go
Yuki e36228b949
fix: Pacakge name bug.
Mix up package name and module name.
2025-06-14 00:40:46 +08:00

13 lines
183 B
Go

package hellogomod
import "testing"
func TestSayHello(t *testing.T) {
s := SayHello("yuki")
want := "Hello, yuki!"
if s != want {
t.Errorf("return %s, want %s", s, want)
}
}