mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
hugolib: Add missing paginator test case
This commit is contained in:
1 parent
c33eb93548
commit
c8d4114171
1 file changed
+1
@@ -98,6 +98,7 @@ func TestPager(t *testing.T) {
|
||||
assert.Nil(t, err)
|
||||
doTestPages(t, pag)
|
||||
first := pag.Pagers()[0].First()
|
||||
assert.Equal(t, "Pager 1", first.String())
|
||||
assert.NotEmpty(t, first.Pages())
|
||||
assert.Empty(t, first.PageGroups())
|
||||
|
||||
|
||||
Reference in new issue
Block a user