diff options
Diffstat (limited to 'vendor/gopkg.in/olivere/elastic.v5/fetch_source_context_test.go')
-rw-r--r-- | vendor/gopkg.in/olivere/elastic.v5/fetch_source_context_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/gopkg.in/olivere/elastic.v5/fetch_source_context_test.go b/vendor/gopkg.in/olivere/elastic.v5/fetch_source_context_test.go index 8c8dd47a5..b98549036 100644 --- a/vendor/gopkg.in/olivere/elastic.v5/fetch_source_context_test.go +++ b/vendor/gopkg.in/olivere/elastic.v5/fetch_source_context_test.go @@ -54,7 +54,7 @@ func TestFetchSourceContextFetchSource(t *testing.T) { t.Fatalf("marshaling to JSON failed: %v", err) } got := string(data) - expected := `{"excludes":[],"includes":[]}` + expected := `true` if got != expected { t.Errorf("expected\n%s\n,got:\n%s", expected, got) } @@ -71,7 +71,7 @@ func TestFetchSourceContextFetchSourceWithIncludesOnly(t *testing.T) { t.Fatalf("marshaling to JSON failed: %v", err) } got := string(data) - expected := `{"excludes":[],"includes":["a","b"]}` + expected := `{"includes":["a","b"]}` if got != expected { t.Errorf("expected\n%s\n,got:\n%s", expected, got) } |