mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
Fixed cd autosuggestion for absolute paths
Removed some unnecessary path cleanup that is_potential_path now handles
This commit is contained in:
@@ -616,6 +616,8 @@ static void test_is_potential_path()
|
||||
assert(! is_potential_path(L"/tmp/is_potential_path_test/al/", wds, false, &tmp));
|
||||
assert(! is_potential_path(L"/tmp/is_potential_path_test/ar", wds, false, &tmp));
|
||||
|
||||
assert(is_potential_path(L"/usr", wds, true, &tmp) && tmp == L"/usr/");
|
||||
|
||||
}
|
||||
|
||||
/** Test the 'test' builtin */
|
||||
|
||||
Reference in New Issue
Block a user