提交 f498459a 作者: Steven Allen

gateway_test: comment on platform dependence

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 afd81fd5
......@@ -157,7 +157,9 @@ func TestGatewayGet(t *testing.T) {
// 1. It's a valid TLD.
// 2. Go treats it as the file extension for "man" files (even though
// nobody actually *uses* this extension, AFAIK).
// 3. Go accepts "fnord" (the test value) as a valid man file.
//
// Unfortunately, this may not work on all platforms as file type
// detection is platform dependent.
ns["/ipns/example.man"] = path.FromString("/ipfs/" + k)
t.Log(ts.URL)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论