(t *testing.T)
| 47 | } |
| 48 | |
| 49 | func TestTouchWithTimestamp(t *testing.T) { |
| 50 | r := fstest.NewRun(t) |
| 51 | |
| 52 | timeAsArgument = "060102" |
| 53 | srcFileName := "oldFile" |
| 54 | err := Touch(context.Background(), r.Fremote, srcFileName) |
| 55 | require.NoError(t, err) |
| 56 | checkFile(t, r.Fremote, srcFileName, "") |
| 57 | } |
| 58 | |
| 59 | func TestTouchWithLongerTimestamp(t *testing.T) { |
| 60 | r := fstest.NewRun(t) |