(t *testing.T)
| 889 | } |
| 890 | |
| 891 | func TestEncodeRevisions(t *testing.T) { |
| 892 | encoded := encodeRevisions(base.TestCtx(t), t.Name(), []string{"5-huey", "4-dewey", "3-louie"}) |
| 893 | assert.Equal(t, Revisions{RevisionsStart: 5, RevisionsIds: []string{"huey", "dewey", "louie"}}, encoded) |
| 894 | } |
| 895 | |
| 896 | func TestEncodeRevisionsGap(t *testing.T) { |
| 897 | encoded := encodeRevisions(base.TestCtx(t), t.Name(), []string{"5-huey", "3-louie"}) |
nothing calls this directly
no test coverage detected