Skip to content

Commit d983517

Browse files
committed
fix expected error message in gateway test
License: MIT Signed-off-by: Steven Allen <[email protected]>
1 parent af53380 commit d983517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/corehttp/gateway_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func TestGatewayGet(t *testing.T) {
188188
{"working.example.com", "/", http.StatusOK, "fnord"},
189189
{"double.example.com", "/", http.StatusOK, "fnord"},
190190
{"triple.example.com", "/", http.StatusOK, "fnord"},
191-
{"working.example.com", "/ipfs/" + k, http.StatusNotFound, "ipfs resolve -r /ipns/working.example.com/ipfs/" + k + ": no link by that name\n"},
191+
{"working.example.com", "/ipfs/" + k, http.StatusNotFound, "ipfs resolve -r /ipns/working.example.com/ipfs/" + k + ": no link named \"ipfs\" under " + k + "\n"},
192192
{"broken.example.com", "/", http.StatusNotFound, "ipfs resolve -r /ipns/broken.example.com/: " + namesys.ErrResolveFailed.Error() + "\n"},
193193
{"broken.example.com", "/ipfs/" + k, http.StatusNotFound, "ipfs resolve -r /ipns/broken.example.com/ipfs/" + k + ": " + namesys.ErrResolveFailed.Error() + "\n"},
194194
// This test case ensures we don't treat the TLD as a file extension.

0 commit comments

Comments
 (0)