removed duplicate test

This commit is contained in:
Michael Baird 2017-06-29 15:52:57 -05:00
parent a2ad3925d0
commit 867af19f9b

View file

@ -3,7 +3,6 @@ package test
import (
"io/ioutil"
"os"
"testing"
"github.com/pilosa/pilosa"
)
@ -77,15 +76,3 @@ func (i *Index) CreateFrameIfNotExists(name string, opt pilosa.FrameOptions) (*F
}
return &Frame{Frame: f}, nil
}
// Ensure index can delete a frame.
func TestIndex_InvalidName(t *testing.T) {
path, err := ioutil.TempDir("", "pilosa-index-")
if err != nil {
panic(err)
}
index, err := pilosa.NewIndex(path, "ABC")
if index != nil {
t.Fatalf("unexpected index name %s", index)
}
}