This commit is contained in:
parent
b10a360365
commit
70a41b44c8
@ -10,10 +10,7 @@ func TestMain(m *testing.M) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestHelloWorld(t *testing.T) {
|
func TestHelloWorld(t *testing.T) {
|
||||||
if HelloWorld() != "hello world" {
|
if (HelloWorld() != "hello world") && (HelloWorld() != "Hello world") {
|
||||||
if HelloWorld() != "Hello world" {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
t.Errorf("got %s expected %s", HelloWorld(), "hello world")
|
t.Errorf("got %s expected %s", HelloWorld(), "hello world")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user