Mercurial > vim
comparison src/testdir/test_filechanged.vim @ 16754:8b92f3fea477 v8.1.1379
patch 8.1.1379: filechanged test hangs
commit https://github.com/vim/vim/commit/8239c62067c8d40720560496b25a82662126f2a2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 24 16:46:01 2019 +0200
patch 8.1.1379: filechanged test hangs
Problem: Filechanged test hangs.
Solution: Do not check 'autoread'.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 May 2019 17:00:05 +0200 |
parents | 1a441c73adbc |
children | 0da9bc55c31a |
comparison
equal
deleted
inserted
replaced
16753:d0d3759cbd4d | 16754:8b92f3fea477 |
---|---|
113 silent !rm Xchanged_d | 113 silent !rm Xchanged_d |
114 checktime | 114 checktime |
115 call assert_match('E211:', v:warningmsg) | 115 call assert_match('E211:', v:warningmsg) |
116 call assert_equal(2, line('$')) | 116 call assert_equal(2, line('$')) |
117 call assert_equal('extra line', getline(2)) | 117 call assert_equal('extra line', getline(2)) |
118 let v:warningmsg = 'empty' | |
118 | 119 |
119 " Recreate buffer and reload | 120 " change buffer, recreate the file and reload |
120 call setline(1, 'buffer is changed') | 121 call setline(1, 'buffer is changed') |
121 silent !echo 'new line' >Xchanged_d | 122 silent !echo 'new line' >Xchanged_d |
122 call feedkeys('L', 'L') | 123 call feedkeys('L', 'L') |
123 checktime | 124 checktime |
124 call assert_match('W12:', v:warningmsg) | 125 call assert_match('W12:', v:warningmsg) |