(t *testing.T)
| 899 | } |
| 900 | |
| 901 | func TestEncodeRevisionsZero(t *testing.T) { |
| 902 | encoded := encodeRevisions(base.TestCtx(t), t.Name(), []string{"1-foo", "0-bar"}) |
| 903 | assert.Equal(t, Revisions{RevisionsStart: 1, RevisionsIds: []string{"foo", ""}}, encoded) |
| 904 | } |
| 905 | |
| 906 | func TestTrimEncodedRevisionsToAncestor(t *testing.T) { |
| 907 | ctx := base.TestCtx(t) |
nothing calls this directly
no test coverage detected