From dc88b7e718b4df78903dec1f27b945fbd5a2abaf Mon Sep 17 00:00:00 2001 From: Matt Jaffee Date: Tue, 29 May 2018 14:39:02 -0500 Subject: [PATCH] don't pass empty options --- client_it_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client_it_test.go b/client_it_test.go index 127fb9e..c6dab57 100644 --- a/client_it_test.go +++ b/client_it_test.go @@ -63,7 +63,7 @@ func TestMain(m *testing.M) { if err != nil { panic(err) } - testFrame, err = index.Frame("test-frame", &FrameOptions{}) + testFrame, err = index.Frame("test-frame") if err != nil { panic(err) } @@ -1088,7 +1088,7 @@ func TestRangeFrame(t *testing.T) { func TestCreateIntField(t *testing.T) { client := getClient() - frame, _ := index.Frame("rangeframe-addfield", &FrameOptions{}) + frame, _ := index.Frame("rangeframe-addfield") err := client.EnsureFrame(frame) if err != nil { t.Fatal(err)