diff options
author | w0rp <devw0rp@gmail.com> | 2017-09-14 00:11:17 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-09-14 00:11:17 +0100 |
commit | a59d1ddbf39fac6463c3b8748faf2651c9f9130d (patch) | |
tree | 0dd1f6c5736ee93be00b06eec3dcdcc517ffb633 /test/test_path_equality.vader | |
parent | 71c2e65d6468bbbc2d08236d7dda0e3876613822 (diff) | |
download | ale-a59d1ddbf39fac6463c3b8748faf2651c9f9130d.zip |
Make temporary file detection work on just about all platforms
Diffstat (limited to 'test/test_path_equality.vader')
-rw-r--r-- | test/test_path_equality.vader | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/test_path_equality.vader b/test/test_path_equality.vader index c17f0010..314a2d9b 100644 --- a/test/test_path_equality.vader +++ b/test/test_path_equality.vader @@ -52,9 +52,4 @@ Execute(ale#path#IsBufferPath should accept various names for stdin): Execute(ale#path#IsBufferPath should match files in /tmp): call ale#test#SetFilename('app/test.ts') - " Skip these checks on Windows. - if !has('win32') - Assert ale#path#IsBufferPath(bufnr(''), '../../../../../../../../tmp/vG0hKyD/1/test.ts') - Assert ale#path#IsBufferPath(bufnr(''), '/tmp/vG0hKyD/1/test.ts') - Assert ale#path#IsBufferPath(bufnr(''), '/run/user/1000/vG0hKyD/1/test.ts') - endif + Assert ale#path#IsBufferPath(bufnr(''), tempname() . '/test.ts') |