summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/mailru/easyjson/benchmark/dummy_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mailru/easyjson/benchmark/dummy_test.go')
-rw-r--r--vendor/github.com/mailru/easyjson/benchmark/dummy_test.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/mailru/easyjson/benchmark/dummy_test.go b/vendor/github.com/mailru/easyjson/benchmark/dummy_test.go
new file mode 100644
index 000000000..3d928ca7c
--- /dev/null
+++ b/vendor/github.com/mailru/easyjson/benchmark/dummy_test.go
@@ -0,0 +1,11 @@
+package benchmark
+
+import (
+ "testing"
+)
+
+type DummyWriter struct{}
+
+func (w DummyWriter) Write(data []byte) (int, error) { return len(data), nil }
+
+func TestToSuppressNoTestsWarning(t *testing.T) {}