-
Notifications
You must be signed in to change notification settings - Fork 4
Build test #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build test #34
Changes from 9 commits
f862356
9f4cfa9
c9ef1d5
03a5534
4998b4c
a62fbee
808fe9e
fe1c2d5
d9fd63b
2a7a1f1
b08a14f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
linters: | ||
disable: | ||
- unused | ||
- errcheck | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ func TestHttpErrorWhenHeaderDoesNotMatch(t *testing.T) { | |
} | ||
|
||
func TestHttpErrorWhenMethodDoesNotMatch(t *testing.T) { | ||
r, err := http.NewRequest(http.MethodPatch, "/blogs", nil) | ||
r, err := http.NewRequest(http.MethodOptions, "/blogs", nil) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This test is currently failing in the main branch. It is failing because previously there wasn't any handling for the method |
||
if err != nil { | ||
t.Fatal(err) | ||
} | ||
|
Uh oh!
There was an error while loading. Please reload this page.