summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-10 00:05:36 +0100
committerw0rp <devw0rp@gmail.com>2017-09-10 00:06:31 +0100
commit1a52a2b8804c0aa8e3c061225ccba47a23d3999e (patch)
tree1445c99c42bfacbb049c6676e78015321e0394e4 /test
parent18f4d5a6da532b5dd9a2cdf7e6f6aea05dced116 (diff)
downloadale-1a52a2b8804c0aa8e3c061225ccba47a23d3999e.zip
Get the TSLint handler tests to pass on Windows
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_tslint_handler.vader12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/handler/test_tslint_handler.vader b/test/handler/test_tslint_handler.vader
index 47233f5c..2ed3357b 100644
--- a/test/handler/test_tslint_handler.vader
+++ b/test/handler/test_tslint_handler.vader
@@ -24,7 +24,7 @@ Execute(The tslint handler should parse lines correctly):
\ {
\ 'lnum': 1,
\ 'col': 15,
- \ 'filename': expand('%:p:h') . '/test.ts',
+ \ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
\ 'end_lnum': 1,
\ 'type': 'E',
\ 'end_col': 15,
@@ -33,7 +33,7 @@ Execute(The tslint handler should parse lines correctly):
\ {
\ 'lnum': 2,
\ 'col': 8,
- \ 'filename': expand('%:p:h') . '/test.ts',
+ \ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
\ 'end_lnum': 3,
\ 'type': 'W',
\ 'end_col': 12,
@@ -42,7 +42,7 @@ Execute(The tslint handler should parse lines correctly):
\ {
\ 'lnum': 2,
\ 'col': 8,
- \ 'filename': expand('%:p:h') . '/something-else.ts',
+ \ 'filename': ale#path#Winify(expand('%:p:h') . '/something-else.ts'),
\ 'end_lnum': 3,
\ 'type': 'W',
\ 'end_col': 12,
@@ -51,7 +51,7 @@ Execute(The tslint handler should parse lines correctly):
\ {
\ 'lnum': 31,
\ 'col': 9,
- \ 'filename': expand('%:p:h') . '/test.ts',
+ \ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
\ 'end_lnum': 31,
\ 'type': 'E',
\ 'end_col': 20,
@@ -151,7 +151,7 @@ Execute(The tslint handler report errors for empty files by default):
\ {
\ 'lnum': 2,
\ 'col': 1,
- \ 'filename': expand('%:p:h') . '/test.ts',
+ \ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
\ 'end_lnum': 2,
\ 'type': 'E',
\ 'end_col': 1,
@@ -224,7 +224,7 @@ Execute(The tslint handler should report errors when the ignore option is on, bu
\ {
\ 'lnum': 2,
\ 'col': 1,
- \ 'filename': expand('%:p:h') . '/test.ts',
+ \ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
\ 'end_lnum': 2,
\ 'type': 'E',
\ 'end_col': 1,