Try to fix Windows tests

This commit is contained in:
w0rp 2020-08-23 20:05:09 +01:00
parent ba3dd0d027
commit c0566db1d2
No known key found for this signature in database
GPG key ID: 0FC1ECAA8C81CD83
2 changed files with 4 additions and 4 deletions

View file

@ -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/'],
\ ],
\}

View file

@ -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/'],
\ ])