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

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

No files matched your search

+15
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')