dummy_test.go 200 B

1234567891011
  1. package benchmark
  2. import (
  3. "testing"
  4. )
  5. type DummyWriter struct{}
  6. func (w DummyWriter) Write(data []byte) (int, error) { return len(data), nil }
  7. func TestToSuppressNoTestsWarning(t *testing.T) {}