mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-01 14:05:39 +00:00
types/logger: fix go test vet error
Silences types/logger/logger_test.go:63:30: conversion from int to string yields a string of one rune Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
parent
30bbbe9467
commit
fa45d606fa
@ -60,7 +60,7 @@ func TestRateLimiter(t *testing.T) {
|
||||
lg("templated format string no. %d", i)
|
||||
if i == 4 {
|
||||
lg("Make sure this string makes it through the rest (that are blocked) %d", i)
|
||||
prefixed = WithPrefix(lg, string('0'+i))
|
||||
prefixed = WithPrefix(lg, string(rune('0'+i)))
|
||||
prefixed(" shouldn't get filtered.")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user