You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
513 B
Plaintext
16 lines
513 B
Plaintext
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')
|