diff options
author | w0rp <devw0rp@gmail.com> | 2017-06-25 16:20:55 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-06-25 16:20:55 +0100 |
commit | 492260c967a2d5e955698584fbf1f075f44cda7c (patch) | |
tree | 9d3d02d6eac95179f27712070bbd92945b1c8d9a /test | |
parent | c2138a2656a2aa6306921f71a2a5ee7c4c690c1f (diff) | |
download | ale-492260c967a2d5e955698584fbf1f075f44cda7c.zip |
Fix the tests harder
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ale_fix.vader | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_ale_fix.vader b/test/test_ale_fix.vader index 14967fa9..f7c6d69f 100644 --- a/test/test_ale_fix.vader +++ b/test/test_ale_fix.vader @@ -239,7 +239,7 @@ Execute(ALEFix should save files on the save event): let g:ale_enabled = 1 noautocmd silent file fix_test_file - noautocmd :w + call writefile(getline(1, '$'), 'fix_test_file') let g:ale_fixers.testft = ['AddDollars'] @@ -247,7 +247,6 @@ Execute(ALEFix should save files on the save event): call ale#events#SaveEvent() " We should save the file. - Assert filereadable('fix_test_file'), 'The file cannot be read' AssertEqual ['$a', '$b', '$c'], readfile('fix_test_file') Assert !&modified, 'The was marked as ''modified''' |