From bf20fa37e41a2a7785955eccdd25dabc3af3c961 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 30 Nov 2015 20:07:22 +0200 Subject: [PATCH] Fixed a typo --- bytesconv_timing_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bytesconv_timing_test.go b/bytesconv_timing_test.go index 2097997..cb315ae 100644 --- a/bytesconv_timing_test.go +++ b/bytesconv_timing_test.go @@ -11,9 +11,9 @@ func BenchmarkInt2HexByte(b *testing.B) { var i int for pb.Next() { i = 16 - for i >= 0 { - int2hexbyte(i) + for i > 0 { i-- + int2hexbyte(i) } } })