summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-23 20:05:09 +0100
committerw0rp <devw0rp@gmail.com>2020-08-23 20:05:09 +0100
commitc0566db1d2f9850937b498c134d6297896cd2a6f (patch)
treebc7699b009ad2266c14bf28492038ba830d5571b /test
parentba3dd0d02735e7b23918200ae58410b0deed2f62 (diff)
downloadale-c0566db1d2f9850937b498c134d6297896cd2a6f.zip
Try to fix Windows tests
Diffstat (limited to 'test')
-rw-r--r--test/fix/test_ale_fix.vader2
-rw-r--r--test/test_filename_mapping.vader6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/fix/test_ale_fix.vader b/test/fix/test_ale_fix.vader
index ee96f0ff..22a555a8 100644
--- a/test/fix/test_ale_fix.vader
+++ b/test/fix/test_ale_fix.vader
@@ -221,7 +221,7 @@ Execute(Should apply filename mpapings):
" that ALEFix applies filename mappings, end-to-end.
let g:ale_filename_mappings = {
\ 'echo_filename': [
- \ [expand('%:p:h'), '/some/fake/path'],
+ \ [expand('%:p:h') . '/', '/some/fake/path/'],
\ ],
\}
diff --git a/test/test_filename_mapping.vader b/test/test_filename_mapping.vader
index 5b6e4f12..e9af539a 100644
--- a/test/test_filename_mapping.vader
+++ b/test/test_filename_mapping.vader
@@ -56,7 +56,7 @@ Execute(ale#filename_mapping#Map should map filenames):
AssertEqual
\ '/data/bar',
\ ale#filename_mapping#Map('/foo//bar', [
- \ ['/data', '/baz'],
- \ ['/foo', '/data'],
- \ ['/foo', '/xyz'],
+ \ ['/data/', '/baz/'],
+ \ ['/foo/', '/data/'],
+ \ ['/foo/', '/xyz/'],
\ ])