diff --git a/test/index.go b/test/index.go index 650aeb6bf..a751b3af6 100644 --- a/test/index.go +++ b/test/index.go @@ -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) - } -}