1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Description: Disable test that adds an extra dependency.
--- a/decode-bench_test.go
+++ b/decode-bench_test.go
@@ -1,11 +1,11 @@
package logfmt
import (
- "bufio"
+// "bufio"
"bytes"
"testing"
- kr "github.com/kr/logfmt"
+// kr "github.com/kr/logfmt"
)
func BenchmarkDecodeKeyval(b *testing.B) {
@@ -36,6 +36,7 @@
}
}
+/*
func BenchmarkKRDecode(b *testing.B) {
const rows = 10000
data := []byte{}
@@ -73,3 +74,4 @@
func (discardHandler) HandleLogfmt(key, val []byte) error {
return nil
}
+*/
|