Skip to content

Commit

Permalink
fix: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
soulteary committed Jun 12, 2022
1 parent eedcbec commit 25e7f07
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkgs/httpcache/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/url"
"testing"

"github.com/soulteary/apt-proxy/httpcache"
"github.com/soulteary/apt-proxy/pkgs/httpcache"
)

func BenchmarkCachingFiles(b *testing.B) {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/httpcache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/soulteary/apt-proxy/httpcache"
"github.com/soulteary/apt-proxy/pkgs/httpcache"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion pkgs/httpcache/cachecontrol_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package httpcache_test
import (
"testing"

. "github.com/soulteary/apt-proxy/httpcache"
. "github.com/soulteary/apt-proxy/pkgs/httpcache"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion pkgs/httpcache/key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net/url"
"testing"

"github.com/soulteary/apt-proxy/httpcache"
"github.com/soulteary/apt-proxy/pkgs/httpcache"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion pkgs/httpcache/spec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/soulteary/apt-proxy/httpcache"
"github.com/soulteary/apt-proxy/pkgs/httpcache"
"github.com/soulteary/apt-proxy/pkgs/httplog"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down
2 changes: 1 addition & 1 deletion pkgs/httpcache/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"time"

"github.com/soulteary/apt-proxy/httpcache"
"github.com/soulteary/apt-proxy/pkgs/httpcache"
)

func newRequest(method, url string, h ...string) *http.Request {
Expand Down

0 comments on commit 25e7f07

Please sign in to comment.