mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
Remove unused newMockReadCloser
This commit is contained in:
parent
dd7b5f517b
commit
f6855fac62
1 changed files with 0 additions and 11 deletions
|
|
@ -15,17 +15,6 @@ import (
|
|||
"github.com/pilosa/pilosa/test"
|
||||
)
|
||||
|
||||
func newMockReadCloser() *mock.ReadCloser {
|
||||
return &mock.ReadCloser{
|
||||
ReadFunc: func(p []byte) (int, error) {
|
||||
return 0, io.EOF
|
||||
},
|
||||
CloseFunc: func() error {
|
||||
return nil
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
func TestTranslateStore_Reader(t *testing.T) {
|
||||
// Ensure client can connect and stream the translate store data.
|
||||
t.Run("OK", func(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue