(t *testing.T)
| 81 | } |
| 82 | |
| 83 | func TestTouchUpdateTimestampWithCFlag(t *testing.T) { |
| 84 | r := fstest.NewRun(t) |
| 85 | |
| 86 | srcFileName := "a" |
| 87 | content := "aaa" |
| 88 | file1 := r.WriteObject(context.Background(), srcFileName, content, t1) |
| 89 | r.CheckRemoteItems(t, file1) |
| 90 | |
| 91 | notCreateNewFile = true |
| 92 | timeAsArgument = "121212" |
| 93 | err := Touch(context.Background(), r.Fremote, "a") |
| 94 | require.NoError(t, err) |
| 95 | checkFile(t, r.Fremote, srcFileName, content) |
| 96 | notCreateNewFile = false |
| 97 | } |
| 98 | |
| 99 | func TestTouchCreateMultipleDirAndFile(t *testing.T) { |
| 100 | r := fstest.NewRun(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…