diff options
Diffstat (limited to 'vendor/gopkg.in/olivere/elastic.v5/search_queries_prefix_test.go')
-rw-r--r-- | vendor/gopkg.in/olivere/elastic.v5/search_queries_prefix_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gopkg.in/olivere/elastic.v5/search_queries_prefix_test.go b/vendor/gopkg.in/olivere/elastic.v5/search_queries_prefix_test.go index dcd47e2a1..78d27b600 100644 --- a/vendor/gopkg.in/olivere/elastic.v5/search_queries_prefix_test.go +++ b/vendor/gopkg.in/olivere/elastic.v5/search_queries_prefix_test.go @@ -38,7 +38,7 @@ func TestPrefixQueryWithOptions(t *testing.T) { t.Fatalf("marshaling to JSON failed: %v", err) } got := string(data) - expected := `{"prefix":{"user":{"_name":"my_query_name","prefix":"ki"}}}` + expected := `{"prefix":{"user":{"_name":"my_query_name","value":"ki"}}}` if got != expected { t.Errorf("expected\n%s\n,got:\n%s", expected, got) } |