summaryrefslogtreecommitdiff
path: root/TESTS.md
diff options
context:
space:
mode:
authorArav Singhal <singhal.arav@gmail.com>2016-10-27 10:31:02 +0300
committerArav Singhal <singhal.arav@gmail.com>2016-10-27 10:31:02 +0300
commit1edb74ba91912ea9acefe091f854eaa8de8ce14e (patch)
tree677845b352d810d035ae4602be2b825fcf38102c /TESTS.md
parentc4fdc8f70804fea6f543e6bbf3964301e2537e36 (diff)
Consider delimiter length in dir truncate right
Truncating the path from the right now takes in account the delimiter length, so that directories with names shorter than truncated name + delimiter are displayed properly. For example, if SHORTEN_DIR_LENGTH is 4 and the delimiter is "..", "../tests/.." and "../custom/.." are not incorrectly "truncated" to "../test../.." and "../cust../..", both of which are longer or the same length as the original.
Diffstat (limited to 'TESTS.md')
0 files changed, 0 insertions, 0 deletions