(t *testing.T)
| 497 | } |
| 498 | |
| 499 | func TestError(t *testing.T) { |
| 500 | ctx := context.Background() |
| 501 | r := fstest.NewRun(t) |
| 502 | err := transform.SetOptions(ctx, "all,prefix=ta/c") // has illegal character |
| 503 | require.NoError(t, err) |
| 504 | file1 := r.WriteFile("toe/toe/toe", "hello world", t1) |
| 505 | |
| 506 | r.Mkdir(ctx, r.Fremote) |
| 507 | // ctx = predictDstFromLogger(ctx) |
| 508 | err = Sync(ctx, r.Fremote, r.Flocal, true) |
| 509 | // testLoggerVsLsf(ctx, r.Fremote, r.Flocal, operations.GetLoggerOpt(ctx).JSON, t) |
| 510 | assert.Error(t, err) |
| 511 | accounting.GlobalStats().ResetCounters() |
| 512 | |
| 513 | r.CheckLocalListing(t, []fstest.Item{file1}, []string{"toe", "toe/toe"}) |
| 514 | r.CheckRemoteListing(t, []fstest.Item{file1}, []string{"toe", "toe/toe"}) |
| 515 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…