Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
imager: Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
bakape committed Apr 28, 2019
1 parent 17f8468 commit bcd733e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions imager/upload_test.go
Original file line number Diff line number Diff line change
@@ -10,7 +10,6 @@ import (
"net/http/httptest"
"path/filepath"
"strings"
"sync"
"testing"

"github.com/bakape/meguca/common"
@@ -58,8 +57,6 @@ func assertCode(t *testing.T, res, std int) {
func newJPEGRequest(t *testing.T) *http.Request {
t.Helper()

var wg sync.WaitGroup
wg.Add(1)
b, w := newMultiWriter()

file, err := w.CreateFormFile("image", assets.StdJPEG.Name)

0 comments on commit bcd733e

Please sign in to comment.