Get the new test to pass on Windows

This commit is contained in:
w0rp 2017-12-10 10:07:04 +00:00
parent cebe7c3918
commit 9152effa9f

View File

@ -296,7 +296,7 @@ Execute(The tslint handler should set filename keys for temporary files):
\ 'position':1383,
\ },
\ 'failure': 'if statements must be braced',
\ 'name': substitute(substitute(expand('%:p'), '[^/\\]', '', 'g'), '.', '../', 'g') . tempname(),
\ 'name': substitute(substitute(substitute(expand('%:p'), '[^/\\]', '', 'g'), '.', '../', 'g') . tempname(), '\([A-Z]:\\\)[A-Z]:', '\1', ''),
\ 'ruleName': 'curly',
\ 'ruleSeverity':'ERROR',
\ 'startPosition': {