@cryptotaxi247 / kubo / commits / 512171aa9

Fixing test failure(issue with looking for exact text)

Andy Leap committed Mar 16, 2015 at 16:27 UTC 512171aa98416a602461e6514d00f1db57a663a4
1 file changed +1 -1
core/corehttp/gateway_test.go
+1 -1
@@ -91,7 +91,7 @@ func TestGatewayGet(t *testing.T) {
91 {"localhost:5001", "/", http.StatusNotFound, "404 page not found\n"},
92 {"localhost:5001", "/" + k, http.StatusNotFound, "404 page not found\n"},
93 {"localhost:5001", "/ipfs/" + k, http.StatusOK, "fnord"},
94 - {"localhost:5001", "/ipns/nxdomain.example.com", http.StatusBadRequest, namesys.ErrResolveFailed.Error()},
94 + {"localhost:5001", "/ipns/nxdomain.example.com", http.StatusBadRequest, "Path Resolve error: " + namesys.ErrResolveFailed.Error()},
95 {"localhost:5001", "/ipns/example.com", http.StatusOK, "fnord"},
96 {"example.com", "/", http.StatusOK, "fnord"},
97 } {