mirror of
https://github.com/rclone/rclone.git
synced 2026-01-01 08:03:26 +00:00
restic: refactor to use lib/http
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
This commit is contained in:
committed by
Nick Craig-Wood
parent
4444d2d102
commit
52443c2444
@@ -21,7 +21,7 @@ func (c *cache) String() string {
|
||||
}
|
||||
|
||||
func TestCacheCRUD(t *testing.T) {
|
||||
c := newCache()
|
||||
c := newCache(true)
|
||||
assert.Equal(t, "", c.String())
|
||||
assert.Nil(t, c.find("potato"))
|
||||
o := mockobject.New("potato")
|
||||
@@ -35,7 +35,7 @@ func TestCacheCRUD(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestCacheRemovePrefix(t *testing.T) {
|
||||
c := newCache()
|
||||
c := newCache(true)
|
||||
for _, remote := range []string{
|
||||
"a",
|
||||
"b",
|
||||
|
||||
Reference in New Issue
Block a user