Try to fix Windows tests
This commit is contained in:
parent
ba3dd0d027
commit
c0566db1d2
2 changed files with 4 additions and 4 deletions
|
@ -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/'],
|
||||
\ ],
|
||||
\}
|
||||
|
||||
|
|
|
@ -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/'],
|
||||
\ ])
|
||||
|
|
Reference in a new issue