12 lines
172 B
Go
12 lines
172 B
Go
package main
|
|
|
|
import "testing"
|
|
|
|
func TestHello(t *testing.T) {
|
|
want := "hello, world"
|
|
got := chello()
|
|
if got != want {
|
|
t.Errorf("expected %q, got %q", want, got)
|
|
}
|
|
}
|