summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-12-10 10:07:04 +0000
committerw0rp <devw0rp@gmail.com>2017-12-10 10:07:04 +0000
commit9152effa9fe4dc9e71d1ff846ba9fdf77eeeebf9 (patch)
tree57e614b93fb2288f8ba90c8f044ca81625819281
parentcebe7c39183b565b393d52fe9dadbf138c830b59 (diff)
downloadale-9152effa9fe4dc9e71d1ff846ba9fdf77eeeebf9.zip
Get the new test to pass on Windows
-rw-r--r--test/handler/test_tslint_handler.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handler/test_tslint_handler.vader b/test/handler/test_tslint_handler.vader
index 78a24170..287baa01 100644
--- a/test/handler/test_tslint_handler.vader
+++ b/test/handler/test_tslint_handler.vader
@@ -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': {