learn golang b***h
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-02-27 20:21:49 +01:00
parent b10a360365
commit 70a41b44c8
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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")
} }
} }