mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
metrics: linter nitpicks
This commit is contained in:
parent
9723df673d
commit
17765d22bb
2 changed files with 0 additions and 2 deletions
|
|
@ -23,7 +23,6 @@ func TestGaugeInfoJsonString(t *testing.T) {
|
|||
if have, want := g.Snapshot().Value().String(), `{"value":"updated"}`; have != want {
|
||||
t.Errorf("\nhave: %v\nwant: %v\n", have, want)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestGetOrRegisterGaugeInfo(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ func BenchmarkCompute1000000(b *testing.B) {
|
|||
for i := 0; i < len(s); i++ {
|
||||
s[i] = int64(i)
|
||||
sum += int64(i)
|
||||
|
||||
}
|
||||
mean := float64(sum) / float64(len(s))
|
||||
b.ResetTimer()
|
||||
|
|
|
|||
Loading…
Reference in a new issue