ContainerImage.Pinniped/pkg/hello/hello_test.go
Matt Moyer c85507e46d Add Apache 2.0 license.
See https://www.apache.org/licenses/LICENSE-2.0.txt.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
2020-07-06 13:50:31 -05:00

18 lines
305 B
Go

/*
Copyright 2020 VMware, Inc.
SPDX-License-Identifier: Apache-2.0
*/
package hello
import (
"testing"
)
func TestHelloSayerImpl_SayHello(t *testing.T) {
actualGreeting := NewHelloSayer().SayHello()
if actualGreeting != "hello" {
t.Errorf("expected to say hello but said %v", actualGreeting)
}
}