Improve pagination testing
authorbep <bjorn.erik.pedersen@gmail.com>
Tue, 27 Jan 2015 00:27:07 +0000 (01:27 +0100)
committerbep <bjorn.erik.pedersen@gmail.com>
Tue, 27 Jan 2015 00:27:07 +0000 (01:27 +0100)
commitde76d4a84ef38ed92887ddd78da639000d6e6371
tree6a8767b695f7e03d038d5e794b5f626fb31b1e2e
parent0c2297075afa28b22485d7c15410216f82a759b3
Improve pagination testing

* Add missing pagination test cases
* Remove some unreachable code paths
* Fix some corner cases
hugolib/pagination.go
hugolib/pagination_test.go