test(utils): add unit test for transform_path (#3013)

(cherry picked from commit b22e6f6896)
This commit is contained in:
James Trew
2024-05-20 11:13:12 +02:00
committed by Simon Hauser
parent 097a64a166
commit f9722f7ee4
3 changed files with 136 additions and 22 deletions
+3 -3
View File
@@ -2296,9 +2296,9 @@ utils.transform_path({opts}, {path}) *telescope.utils.transform_path()*
Parameters: ~
{opts} (table) The opts the users passed into the picker. Might
contains a path_display key
{path} (string) The path that should be formatted
{opts} (table) The opts the users passed into the picker. Might
contains a path_display key
{path} (string?) The path that should be formatted
Return: ~
string: The transformed path ready to be displayed