diff options
Diffstat (limited to 'test/test_ale_fix.vader')
-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''' |