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.
|
" that ALEFix applies filename mappings, end-to-end.
|
||||||
let g:ale_filename_mappings = {
|
let g:ale_filename_mappings = {
|
||||||
\ 'echo_filename': [
|
\ '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
|
AssertEqual
|
||||||
\ '/data/bar',
|
\ '/data/bar',
|
||||||
\ ale#filename_mapping#Map('/foo//bar', [
|
\ ale#filename_mapping#Map('/foo//bar', [
|
||||||
\ ['/data', '/baz'],
|
\ ['/data/', '/baz/'],
|
||||||
\ ['/foo', '/data'],
|
\ ['/foo/', '/data/'],
|
||||||
\ ['/foo', '/xyz'],
|
\ ['/foo/', '/xyz/'],
|
||||||
\ ])
|
\ ])
|
||||||
|
|
Reference in a new issue