(t *testing.T)
| 67 | } |
| 68 | |
| 69 | func TestTouchUpdateTimestamp(t *testing.T) { |
| 70 | r := fstest.NewRun(t) |
| 71 | |
| 72 | srcFileName := "a" |
| 73 | content := "aaa" |
| 74 | file1 := r.WriteObject(context.Background(), srcFileName, content, t1) |
| 75 | r.CheckRemoteItems(t, file1) |
| 76 | |
| 77 | timeAsArgument = "121212" |
| 78 | err := Touch(context.Background(), r.Fremote, "a") |
| 79 | require.NoError(t, err) |
| 80 | checkFile(t, r.Fremote, srcFileName, content) |
| 81 | } |
| 82 | |
| 83 | func TestTouchUpdateTimestampWithCFlag(t *testing.T) { |
| 84 | r := fstest.NewRun(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…