Fix sync test (miss in #207) (#216)

This commit is contained in:
Pieter Noordhuis 2023-02-20 15:41:37 +01:00 committed by GitHub
parent 584c8d1b0b
commit ca04a6a1dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ func TestAccIncrementalFileOverwritesFolder(t *testing.T) {
assert.NoError(t, err)
f := testfile.CreateFile(t, localFilePath)
defer f.Close(t)
assertSync.remoteDirContent(ctx, "", append(repoFiles, ".gitignore"))
assertSync.remoteDirContent(ctx, "", append(repoFiles, ".gitignore", "foo"))
assertSync.remoteDirContent(ctx, "foo", []string{"bar.txt"})
assertSync.snapshotContains(append(repoFiles, ".gitignore", filepath.FromSlash("foo/bar.txt")))