hugo/tpl/collections
Baibhav Vatsa 096a4b67b9 tpl: After now accepts 0 as index
Modified the if conditional because of which after threw an error if called with 0 as index. The function now returns the whole original slice if 0 is passed as an index. Also added tests to test the new behavior.

Fixes #6388
2019-10-11 08:35:27 +02:00
..
append.go
append_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
apply.go
apply_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
collections.go tpl: After now accepts 0 as index 2019-10-11 08:35:27 +02:00
collections_test.go tpl: After now accepts 0 as index 2019-10-11 08:35:27 +02:00
complement.go
complement_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
index.go
index_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
init.go
init_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
merge.go
merge_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
reflect_helpers.go
sort.go
sort_test.go
symdiff.go
symdiff_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
where.go
where_test.go