diff options
author | Ghislain Rodrigues <git@ghislain-rodrigues.fr> | 2017-10-08 13:22:16 +0100 |
---|---|---|
committer | Ghislain Rodrigues <git@ghislain-rodrigues.fr> | 2017-10-08 13:22:16 +0100 |
commit | daee065ecdeb8fc86e8daed9df8bdcc52dd6cc85 (patch) | |
tree | f8a4ca929f8cdca76779960aa3c545b23e3a0dfe /tests | |
parent | eaf6a633425d4303b123d40e2bafe07cba6deb0e (diff) | |
download | vdebug-daee065ecdeb8fc86e8daed9df8bdcc52dd6cc85.zip |
keep the paths clean of double directory separators
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_util_filepath.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_util_filepath.py b/tests/test_util_filepath.py index 9f26877..adc08ad 100644 --- a/tests/test_util_filepath.py +++ b/tests/test_util_filepath.py @@ -199,12 +199,12 @@ class MismatchingSeparatorsTest(unittest.TestCase): filename = "/remote2/path/to/file" file = FilePath(filename) - self.assertEqual("/local2//path/to/file",file.as_local()) + self.assertEqual("/local2/path/to/file",file.as_local()) def test_as_remote(self): filename = "/local1/path/to/file" file = FilePath(filename) - self.assertEqual("file:///remote1//path/to/file",file.as_remote()) + self.assertEqual("file:///remote1/path/to/file",file.as_remote()) filename = "/local2/path/to/file" file = FilePath(filename) |