Remove pre go1.8 code and cleanup (#4933)

We don't need certain go1.7.x custom code anymore, since
we have migrated to go1.8
This commit is contained in:
Harshavardhana
2017-09-22 14:03:31 -07:00
committed by Dee Koder
parent 6d7df1d1cb
commit 330f79b40e
2 changed files with 14 additions and 44 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ func TestLookupEndpoint(t *testing.T) {
},
{
endpoint: server.URL,
err: fmt.Errorf("Unexpected response from webhook server %s: (400 Bad Request)", server.URL),
err: fmt.Errorf("Unable to lookup webhook endpoint %s response(400 Bad Request)", server.URL),
},
}
for _, test := range testCases {