From fe7592b0d8fa2e961cbdb4e01413c024503125e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20Valli=C3=A8res-Lagac=C3=A9?= Date: Tue, 23 Oct 2018 14:01:40 -0400 Subject: [PATCH] Fixed Failing Test For some reason, this test was failing on TravicCI, but not locally. I fixed it by changing it so that we actually test against what was read from the query. --- response_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/response_test.go b/response_test.go index b4e8535..5d0da27 100644 --- a/response_test.go +++ b/response_test.go @@ -65,8 +65,8 @@ func TestResponses(t *testing.T) { if len(result) != 1 { t.Errorf("Returned sets is not equal to 1. Received %d", len(result)) } - if result[0]["age"] != "30" { - t.Errorf("Age is not equal. Got %v", result[0]["age"]) + if result[0]["name"] != "FirstLast" { + t.Errorf("Name is not equal. Got %v", result[0]["name"]) } })