Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
a0f90d3a
Commit
a0f90d3a
authored
Jan 14, 2021
by
Marcin Rataj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: cover 2 remaining lines
parent
cdad3947
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
core/corehttp/gateway_test.go
core/corehttp/gateway_test.go
+1
-0
No files found.
core/corehttp/gateway_test.go
View file @
a0f90d3a
...
...
@@ -184,6 +184,7 @@ func TestUriQueryRedirect(t *testing.T) {
{"/ipns/?uri=ipns://" + cid, http.StatusMovedPermanently, "/ipns/" + cid},
{"/ipns/?uri=ipfs://" + cid, http.StatusMovedPermanently, "/ipfs/" + cid},
{"/ipfs/?uri=unsupported://" + cid, http.StatusBadRequest, ""},
{"/ipfs/?uri=invaliduri", http.StatusBadRequest, ""},
{"/ipfs/?uri=" + cid, http.StatusBadRequest, ""},
} {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment