package main import "testing" func TestHello(t *testing.T) { given := Hello() expected := "Hello, world!" if given != expected { t.Errorf("given: %v, expected: %v", given, expected) } }