summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-03-18 20:39:42 +0000
committerw0rp <devw0rp@gmail.com>2018-03-18 20:39:50 +0000
commit43e8f47e6e8c4fd3cc7ea161120c320b85813efd (patch)
treefae056d0f98b67b7709a54d81b7bd5e4153b8725 /test
parent68b9399d4c4cdca8a29b5e6125d44779c52def81 (diff)
downloadale-43e8f47e6e8c4fd3cc7ea161120c320b85813efd.zip
#1431 Normalize paths when checking for temporary paths on Windows
Diffstat (limited to 'test')
-rw-r--r--test/test_loclist_corrections.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_loclist_corrections.vader b/test/test_loclist_corrections.vader
index 6224d608..46c7e272 100644
--- a/test/test_loclist_corrections.vader
+++ b/test/test_loclist_corrections.vader
@@ -324,7 +324,7 @@ Execute(FixLocList should interpret temporary filenames as being the current buf
\ 'foobar',
\ [
\ {'text': 'a', 'lnum': 2, 'filename': b:temp_name},
- \ {'text': 'a', 'lnum': 3, 'filename': b:temp_name},
+ \ {'text': 'a', 'lnum': 3, 'filename': substitute(b:temp_name, '\\', '/', 'g')},
\ ],
\ )