diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-07-20 15:22:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-20 15:22:49 -0700 |
commit | 58839cefb50e56ae5b157b37e9814ae83ceee70b (patch) | |
tree | 5de966481678096fc9567f74f96673b34a65127c /vendor/gopkg.in/olivere/elastic.v5/fetch_source_context_test.go | |
parent | e2f4492eadb5d3c58606b1fdd5774b63a07c236a (diff) | |
download | chat-58839cefb50e56ae5b157b37e9814ae83ceee70b.tar.gz chat-58839cefb50e56ae5b157b37e9814ae83ceee70b.tar.bz2 chat-58839cefb50e56ae5b157b37e9814ae83ceee70b.zip |
Upgrading server dependancies (#6984)
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) } |