diff --git a/examples/testing/main_test.go b/examples/testing/main_test.go index c91540f..e409d9d 100644 --- a/examples/testing/main_test.go +++ b/examples/testing/main_test.go @@ -31,7 +31,7 @@ func TestIntMinBasic(t *testing.T) { ans := IntMin(2, -2) if ans != -2 { // `t.Error*` will report test failures but continue - // executing the test. `t.Fail*` will report test + // executing the test. `t.Fatal*` will report test // failures and stop the test immediately. t.Errorf("IntMin(2, -2) = %d; want -2", ans) }