Force a failing test

This commit is contained in:
Oliver Davies 2022-01-26 13:33:39 +00:00
parent fe111fc657
commit ed2f83264e

View file

@ -4,7 +4,7 @@ import "testing"
func TestHello(t *testing.T) { func TestHello(t *testing.T) {
got := Hello("Oliver") got := Hello("Oliver")
want := "Hello, Oliver" want := "Hello, failure"
if got != want { if got != want {
t.Errorf("got %q want %q", got, want) t.Errorf("got %q want %q", got, want)