mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-26 15:43:16 +08:00
#653 Update tslint to set the filename key for problems in other files
This commit is contained in:
1 parent
fb0adc602e
commit
7112776d1b
7 files changed
+96
-34
No files matched your search
@@ -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')
|
||||
Reference in new issue
Block a user