Skip to content

Commit

Permalink
Fix linter violation
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Mar 19, 2020
1 parent 0c3c0a6 commit f947194
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions testing/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1279,8 +1279,7 @@ func TestRemoveContainerNotFound(t *testing.T) {
server := baseDockerServer()
server.buildMuxer()
recorder := httptest.NewRecorder()
path := fmt.Sprintf("/containers/abc123")
request, _ := http.NewRequest(http.MethodDelete, path, nil)
request, _ := http.NewRequest(http.MethodDelete, "/containers/abc123", nil)
server.ServeHTTP(recorder, request)
if recorder.Code != http.StatusNotFound {
t.Errorf("RemoveContainer: wrong status. Want %d. Got %d.", http.StatusNotFound, recorder.Code)
Expand Down

0 comments on commit f947194

Please sign in to comment.