diff options
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index a6b4b2ab..002912ac 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -576,7 +576,14 @@ static void test_path() if( canon != L"/foo/bar" ) { err( L"Bug in canonical PATH code" ); - } + } + + path = L"/"; + path_make_canonical(path); + if (path != L"/") + { + err( L"Bug in canonical PATH code" ); + } } /** Test is_potential_path */ |