@cryptotaxi247 / kubo / commits / 0adb69a77

coreapi: fix TestGatewayGet after rebase

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>

Łukasz Magiera committed Jun 6, 2018 at 21:00 UTC 0adb69a7734bb6b9e15c5f895341dd33206c5bc7
1 file changed +1 -1
core/corehttp/gateway_test.go
+1 -1
@@ -171,7 +171,7 @@ func TestGatewayGet(t *testing.T) {
171 {"working.example.com", "/", http.StatusOK, "fnord"},
172 {"double.example.com", "/", http.StatusOK, "fnord"},
173 {"triple.example.com", "/", http.StatusOK, "fnord"},
174 - {"working.example.com", "/ipfs/" + k, http.StatusNotFound, "ipfs resolve -r /ipns/working.example.com/ipfs/" + k + ": no link named \"ipfs\" under " + k + "\n"},
174 + {"working.example.com", "/ipfs/" + k, http.StatusNotFound, "ipfs resolve -r /ipns/working.example.com/ipfs/" + k + ": no link by that name\n"},
175 {"broken.example.com", "/", http.StatusNotFound, "ipfs resolve -r /ipns/broken.example.com/: " + namesys.ErrResolveFailed.Error() + "\n"},
176 {"broken.example.com", "/ipfs/" + k, http.StatusNotFound, "ipfs resolve -r /ipns/broken.example.com/ipfs/" + k + ": " + namesys.ErrResolveFailed.Error() + "\n"},
177 } {