(t *testing.T)
| 393 | } |
| 394 | |
| 395 | func TestPatternYears(t *testing.T) { |
| 396 | f := newTestLister(t) |
| 397 | entries, err := years(context.Background(), f, "potato/", nil) |
| 398 | require.NoError(t, err) |
| 399 | |
| 400 | year := 2000 |
| 401 | for _, entry := range entries { |
| 402 | assert.Equal(t, "potato/"+fmt.Sprint(year), entry.Remote()) |
| 403 | year++ |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | func TestPatternMonths(t *testing.T) { |
| 408 | f := newTestLister(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…