(t *testing.T)
| 1039 | } |
| 1040 | |
| 1041 | func TestCaseInsensitiveMoveFileDryRun(t *testing.T) { |
| 1042 | ctx := context.Background() |
| 1043 | ctx, ci := fs.AddConfig(ctx) |
| 1044 | r := fstest.NewRun(t) |
| 1045 | if !r.Fremote.Features().CaseInsensitive { |
| 1046 | return |
| 1047 | } |
| 1048 | |
| 1049 | file1 := r.WriteObject(ctx, "hello", "world", t1) |
| 1050 | r.CheckRemoteItems(t, file1) |
| 1051 | |
| 1052 | ci.DryRun = true |
| 1053 | err := operations.MoveFile(ctx, r.Fremote, r.Fremote, "HELLO", file1.Path) |
| 1054 | require.NoError(t, err) |
| 1055 | r.CheckRemoteItems(t, file1) |
| 1056 | } |
| 1057 | |
| 1058 | func TestMoveFileBackupDir(t *testing.T) { |
| 1059 | ctx := context.Background() |
nothing calls this directly
no test coverage detected
searching dependent graphs…