aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits
diff options
context:
space:
mode:
authorAlan Donovan <adonovan@google.com>2025-11-14 14:59:36 -0500
committerGopher Robot <gobot@golang.org>2025-11-14 14:05:53 -0800
commitaea881230dcc640ad730d3759423104074577756 (patch)
treed221fb2269a355d666d131a5ad31451aa2edb299 /src/internal/pkgbits
parent120f1874ef380362cf8b8c4775a327bcd417ff70 (diff)
downloadgo-aea881230dcc640ad730d3759423104074577756.tar.xz
std: fix printf("%q", int) mistakes
For #72850 Change-Id: I07e64f05c82a34b1dadb9a72e16f5045e68cbd24 Reviewed-on: https://go-review.googlesource.com/c/go/+/720642 Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/internal/pkgbits')
-rw-r--r--src/internal/pkgbits/pkgbits_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/pkgbits/pkgbits_test.go b/src/internal/pkgbits/pkgbits_test.go
index a4755bd35a..f67267189f 100644
--- a/src/internal/pkgbits/pkgbits_test.go
+++ b/src/internal/pkgbits/pkgbits_test.go
@@ -28,7 +28,7 @@ func TestRoundTrip(t *testing.T) {
r := pr.NewDecoder(pkgbits.SectionMeta, pkgbits.PublicRootIdx, pkgbits.SyncPublic)
if r.Version() != w.Version() {
- t.Errorf("Expected reader version %q to be the writer version %q", r.Version(), w.Version())
+ t.Errorf("Expected reader version %d to be the writer version %d", r.Version(), w.Version())
}
}
}