mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-24 04:51:29 +08:00
Fix the mscs tests on Windows, and use the improved Simplify for all tests instead.
This commit is contained in:
@@ -27,7 +27,7 @@ Execute(The tslint handler should parse lines correctly):
|
||||
\ {
|
||||
\ 'lnum': 1,
|
||||
\ 'col': 15,
|
||||
\ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'filename': ale#path#Simplify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'end_lnum': 1,
|
||||
\ 'type': 'E',
|
||||
\ 'end_col': 15,
|
||||
@@ -37,7 +37,7 @@ Execute(The tslint handler should parse lines correctly):
|
||||
\ {
|
||||
\ 'lnum': 2,
|
||||
\ 'col': 8,
|
||||
\ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'filename': ale#path#Simplify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'end_lnum': 3,
|
||||
\ 'type': 'W',
|
||||
\ 'end_col': 12,
|
||||
@@ -46,7 +46,7 @@ Execute(The tslint handler should parse lines correctly):
|
||||
\ {
|
||||
\ 'lnum': 2,
|
||||
\ 'col': 8,
|
||||
\ 'filename': ale#path#Winify(expand('%:p:h') . '/something-else.ts'),
|
||||
\ 'filename': ale#path#Simplify(expand('%:p:h') . '/something-else.ts'),
|
||||
\ 'end_lnum': 3,
|
||||
\ 'type': 'W',
|
||||
\ 'end_col': 12,
|
||||
@@ -56,7 +56,7 @@ Execute(The tslint handler should parse lines correctly):
|
||||
\ {
|
||||
\ 'lnum': 31,
|
||||
\ 'col': 9,
|
||||
\ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'filename': ale#path#Simplify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'end_lnum': 31,
|
||||
\ 'type': 'E',
|
||||
\ 'end_col': 20,
|
||||
@@ -157,7 +157,7 @@ Execute(The tslint handler report errors for empty files by default):
|
||||
\ {
|
||||
\ 'lnum': 2,
|
||||
\ 'col': 1,
|
||||
\ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'filename': ale#path#Simplify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'end_lnum': 2,
|
||||
\ 'type': 'E',
|
||||
\ 'end_col': 1,
|
||||
@@ -231,7 +231,7 @@ Execute(The tslint handler should report errors when the ignore option is on, bu
|
||||
\ {
|
||||
\ 'lnum': 2,
|
||||
\ 'col': 1,
|
||||
\ 'filename': ale#path#Winify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'filename': ale#path#Simplify(expand('%:p:h') . '/test.ts'),
|
||||
\ 'end_lnum': 2,
|
||||
\ 'type': 'E',
|
||||
\ 'end_col': 1,
|
||||
|
||||
Reference in New Issue
Block a user