forked from TrueCloudLab/rclone
chunker: fix integration tests after backport commit 6baa4e294
It was my stupid typo: "f.base.NewObject" instead of correct "f.NewObject" I made it during backport. The commit on master was correct.
This commit is contained in:
parent
7ad2c22d5b
commit
d45d48cbe5
1 changed files with 1 additions and 1 deletions
|
@ -487,7 +487,7 @@ func testPreventCorruption(t *testing.T, f *Fs) {
|
||||||
// accessing chunks in strict mode is prohibited
|
// accessing chunks in strict mode is prohibited
|
||||||
f.opt.FailHard = true
|
f.opt.FailHard = true
|
||||||
billyChunk4Name := billyChunkName(4)
|
billyChunk4Name := billyChunkName(4)
|
||||||
_, err = f.base.NewObject(ctx, billyChunk4Name)
|
_, err = f.NewObject(ctx, billyChunk4Name)
|
||||||
assertOverlapError(err)
|
assertOverlapError(err)
|
||||||
|
|
||||||
f.opt.FailHard = false
|
f.opt.FailHard = false
|
||||||
|
|
Loading…
Add table
Reference in a new issue