diff --git a/src/os/os_test.go b/src/os/os_test.go index 46c4f138c3..e421795380 100644 --- a/src/os/os_test.go +++ b/src/os/os_test.go @@ -1533,10 +1533,10 @@ func testChtimes(t *testing.T, name string) { t.Log(errormsg) t.Log("Known NetBSD issue (atime not changed on fs mounted with noatime); ignoring.") } else { - t.Errorf(errormsg) + t.Error(errormsg) } default: - t.Errorf(errormsg) + t.Error(errormsg) } }