diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/fix/test_ale_fix.vader | 2 | ||||
-rw-r--r-- | test/test_filename_mapping.vader | 6 |
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/'], \ ]) |