Commit 86949849 authored by Dr Ian Preston's avatar Dr Ian Preston Committed by Steven Allen

Add another test case for invalid p2p http proxy path

License: MIT
Signed-off-by: default avatarIan Preston <ianopolous@protonmail.com>
parent 7e541079
......@@ -40,6 +40,7 @@ func TestParseRequest(t *testing.T) {
var invalidtestCases = []string{
"http://localhost:5001/p2p/http/foobar",
"http://localhost:5001/p2p/QmT8JtU54XSmC38xSb1XHFSMm775VuTeajg7LWWWTAwzxT/x/custom/foobar",
}
func TestParseRequestInvalidPath(t *testing.T) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment