diff options
author | Baibhav Vatsa <baibhavvatsa@gmail.com> | 2019-10-11 04:16:15 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-10-11 09:35:27 +0300 |
commit | 096a4b67b98259dabff5ebfbfd879a41999a1ed2 (patch) | |
tree | d940a0429e0983bd5c462b8841ca292b87886c2a /common | |
parent | bc70f2bf123d94fc3226754ec9f1f44748e98162 (diff) |
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
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions