Skip to content

Commit

Permalink
Add another test case for invalid p2p http proxy path
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Ian Preston <ianopolous@protonmail.com>
  • Loading branch information
ianopolous authored and Stebalien committed Nov 29, 2018
1 parent 7e54107 commit 8694984
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/corehttp/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8694984

Please sign in to comment.