fix test
License: MIT Signed-off-by: Ian Preston <ianopolous@protonmail.com>
Dr Ian Preston committed
Oct 10, 2018 at 19:03 UTC
654105a2104209e0653c236387dcabfa195be783
1 file changed
+1
-1
core/corehttp/proxy_test.go
+1
-1
@@ -16,7 +16,7 @@ func TestParseRequest(t *testing.T) {
16
if err != nil {
17
t.Error(err)
18
}
19
- assert.True(parsed.httpPath == "/path/to/index.txt", t, "proxy request path")
19
+ assert.True(parsed.httpPath == "path/to/index.txt", t, "proxy request path")
20
assert.True(parsed.name == "test-name", t, "proxy request name")
21
assert.True(parsed.target == "QmT8JtU54XSmC38xSb1XHFSMm775VuTeajg7LWWWTAwzxT", t, "proxy request peer-id")
22
}