(t *testing.T)
| 894 | } |
| 895 | |
| 896 | func TestEncodeRevisionsGap(t *testing.T) { |
| 897 | encoded := encodeRevisions(base.TestCtx(t), t.Name(), []string{"5-huey", "3-louie"}) |
| 898 | assert.Equal(t, Revisions{RevisionsStart: 5, RevisionsIds: []string{"huey", "louie"}}, encoded) |
| 899 | } |
| 900 | |
| 901 | func TestEncodeRevisionsZero(t *testing.T) { |
| 902 | encoded := encodeRevisions(base.TestCtx(t), t.Name(), []string{"1-foo", "0-bar"}) |
nothing calls this directly
no test coverage detected