Disable a test on Windows for now, because Windows is stupid
This commit is contained in:
parent
9152effa9f
commit
7a88a3605c
@ -282,27 +282,29 @@ Execute(The tslint handler should not report no-implicit-dependencies errors):
|
|||||||
\ }])])
|
\ }])])
|
||||||
|
|
||||||
Execute(The tslint handler should set filename keys for temporary files):
|
Execute(The tslint handler should set filename keys for temporary files):
|
||||||
" The temporay filename below is hacked into being a relative path so we can
|
if !has('win32')
|
||||||
" test that we resolve the temporary filename first.
|
" The temporay filename below is hacked into being a relative path so we can
|
||||||
AssertEqual
|
" test that we resolve the temporary filename first.
|
||||||
\ [
|
AssertEqual
|
||||||
\ {'lnum': 47, 'col': 1, 'code': 'curly', 'end_lnum': 47, 'type': 'E', 'end_col': 26, 'text': 'if statements must be braced'},
|
\ [
|
||||||
\ ],
|
\ {'lnum': 47, 'col': 1, 'code': 'curly', 'end_lnum': 47, 'type': 'E', 'end_col': 26, 'text': 'if statements must be braced'},
|
||||||
\ ale_linters#typescript#tslint#Handle(bufnr(''), [json_encode([
|
\ ],
|
||||||
\ {
|
\ ale_linters#typescript#tslint#Handle(bufnr(''), [json_encode([
|
||||||
\ 'endPosition': {
|
\ {
|
||||||
\ 'character':25,
|
\ 'endPosition': {
|
||||||
\ 'line':46,
|
\ 'character':25,
|
||||||
\ 'position':1383,
|
\ 'line':46,
|
||||||
\ },
|
\ 'position':1383,
|
||||||
\ 'failure': 'if statements must be braced',
|
\ },
|
||||||
\ 'name': substitute(substitute(substitute(expand('%:p'), '[^/\\]', '', 'g'), '.', '../', 'g') . tempname(), '\([A-Z]:\\\)[A-Z]:', '\1', ''),
|
\ 'failure': 'if statements must be braced',
|
||||||
\ 'ruleName': 'curly',
|
\ 'name': substitute(substitute(substitute(expand('%:p'), '[^/\\]', '', 'g'), '.', '../', 'g') . tempname(), '\([A-Z]:\\\)[A-Z]:', '\1', ''),
|
||||||
\ 'ruleSeverity':'ERROR',
|
\ 'ruleName': 'curly',
|
||||||
\ 'startPosition': {
|
\ 'ruleSeverity':'ERROR',
|
||||||
\ 'character':0,
|
\ 'startPosition': {
|
||||||
\ 'line':46,
|
\ 'character':0,
|
||||||
\ 'position':1358,
|
\ 'line':46,
|
||||||
\ }
|
\ 'position':1358,
|
||||||
\ },
|
\ }
|
||||||
\ ])])
|
\ },
|
||||||
|
\ ])])
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user