Skip to content

Commit df1bc8b

Browse files
dmitshurgopherbot
authored andcommitted
cmd/screentest: escape % in format string
Caught by the improved vet check as of CL 707135: $ go vet ./cmd/screentest cmd/screentest/screentest.go:169:33: p format % o reads arg #1, but call has 0 args Change-Id: I7eeedab93652a51779904542e52d1fb77349f3f5 Reviewed-on: https://go-review.googlesource.com/c/website/+/712760 Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent 41f157a commit df1bc8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/screentest/screentest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func failedImagesPage(failedTests []*testcase) []byte {
166166
<head>
167167
<style>
168168
table { border: 0 }
169-
/* image widths are 30% of the viewport width */
169+
/* image widths are 30%% of the viewport width */
170170
img { width: 30vw }
171171
td { font-size: 1.2rem }
172172
</style>

0 commit comments

Comments
 (0)