From 867af19f9bbffd8f7da6af301b0bf6a38307c6ac Mon Sep 17 00:00:00 2001 From: Michael Baird Date: Thu, 29 Jun 2017 15:52:57 -0500 Subject: [PATCH] removed duplicate test --- test/index.go | 13 ------------- 1 file changed, 13 deletions(-) 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) - } -}