You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
189 B
Go
13 lines
189 B
Go
11 months ago
|
package main
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func TestHello(t *testing.T) {
|
||
|
got := Hello("Drew")
|
||
|
expected := "Hello, Drew"
|
||
|
|
||
|
if got != expected {
|
||
|
t.Errorf("got %q, expected %q", got, expected)
|
||
|
}
|
||
|
}
|