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>reviewable/pr553/r1
parent
30bbbe9467
commit
fa45d606fa
|
@ -60,7 +60,7 @@ func TestRateLimiter(t *testing.T) {
|
||||||
lg("templated format string no. %d", i)
|
lg("templated format string no. %d", i)
|
||||||
if i == 4 {
|
if i == 4 {
|
||||||
lg("Make sure this string makes it through the rest (that are blocked) %d", i)
|
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.")
|
prefixed(" shouldn't get filtered.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue