#653 Update tslint to set the filename key for problems in other files

This commit is contained in:
w0rp
2017-08-20 00:05:15 +01:00
parent fb0adc602e
commit 7112776d1b
7 changed files with 96 additions and 34 deletions

View File

@@ -0,0 +1,15 @@
Execute(Relative paths should be resolved correctly):
AssertEqual
\ '/foo/bar/baz/whatever.txt',
\ ale#path#GetAbsPath('/foo/bar/xyz', '../baz/whatever.txt')
AssertEqual
\ '/foo/bar/xyz/whatever.txt',
\ ale#path#GetAbsPath('/foo/bar/xyz', './whatever.txt')
AssertEqual
\ '/foo/bar/xyz/whatever.txt',
\ ale#path#GetAbsPath('/foo/bar/xyz', 'whatever.txt')
Execute(Absolute paths should be resolved correctly):
AssertEqual
\ '/ding/dong',
\ ale#path#GetAbsPath('/foo/bar/xyz', '/ding/dong')