1
0
mirror of https://github.com/golang/go synced 2024-09-23 11:20:17 -06:00

os: remove non-constant format string in t.Errorf call

Fixes #68744

Change-Id: I12db785fc21c18db69d57cf91e2190b4a3df2484
Reviewed-on: https://go-review.googlesource.com/c/go/+/603515
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Tim King 2024-08-06 10:06:39 -07:00
parent abc3d2c119
commit b62342216d

View File

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