]> git.maquefel.me Git - brevno-suite/hugo/commit
tpl/collections: Add an integration test for collections.D
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 27 Aug 2025 13:21:29 +0000 (15:21 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 27 Aug 2025 15:25:05 +0000 (17:25 +0200)
commit84b5123912014aa83fc106be60ff208384638715
tree7206b14cacd322ccc8cc8f988a15ede86d7681b7
parent29124159552afa490958ca6a7b2f020ad47972ab
tpl/collections: Add an integration test for collections.D

Also
* improve the handling if invalid input
* add a sanity check for number of elements asked for in D (1000000).
tpl/collections/collections.go
tpl/collections/collections_integration_test.go
tpl/collections/collections_test.go