diff options
author | w0rp <devw0rp@gmail.com> | 2017-04-17 23:29:02 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-04-17 23:29:02 +0100 |
commit | e237add9fdec64c80ed57f383e2b73464fb4b43d (patch) | |
tree | c7a958526e3048c3457359de435fd8ee83ab07b6 /test/test_nearest_file_search.vader | |
parent | 6c762237cea0dd29fc95d3cbbb9787213f581ef3 (diff) | |
download | ale-e237add9fdec64c80ed57f383e2b73464fb4b43d.zip |
Move path functions to their own file
Diffstat (limited to 'test/test_nearest_file_search.vader')
-rw-r--r-- | test/test_nearest_file_search.vader | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_nearest_file_search.vader b/test/test_nearest_file_search.vader index c59bfce2..c2499ad2 100644 --- a/test/test_nearest_file_search.vader +++ b/test/test_nearest_file_search.vader @@ -3,9 +3,9 @@ Execute(Open a file some directory down): :e! top/middle/bottom/dummy.txt Then(We should be able to find a configuration file further up): - AssertEqual expand('%:p:h:h:h:h') . '/top/example.ini', ale#util#FindNearestFile(bufnr('%'), 'example.ini') + AssertEqual expand('%:p:h:h:h:h') . '/top/example.ini', ale#path#FindNearestFile(bufnr('%'), 'example.ini') Execute(Do nothing): Then(We shouldn't find anything for files which don't match): - AssertEqual '', ale#util#FindNearestFile(bufnr('%'), 'cantfindthis') + AssertEqual '', ale#path#FindNearestFile(bufnr('%'), 'cantfindthis') |