diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-20 20:09:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-20 20:09:14 +0100 |
commit | 38ea5bda2b699d91e339fb116d96e3a4f2e69c89 (patch) | |
tree | 655c317d76a37597c4c6b80223f857b93b4ea803 /src | |
parent | 57e95179abdd851cb2d0c06d4f973575a768e3bb (diff) |
patch 9.0.0232: test with BufNewFile autocmd is flakyv9.0.0232
Problem: Test with BufNewFile autocmd is flaky.
Solution: Use another file name.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_vim9_cmd.vim | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim index 5484ecb775..b9d8adb404 100644 --- a/src/testdir/test_vim9_cmd.vim +++ b/src/testdir/test_vim9_cmd.vim @@ -1025,23 +1025,23 @@ enddef def Test_bar_line_continuation() var lines =<< trim END - au BufNewFile Xfile g:readFile = 1 + au BufNewFile XveryNewFile g:readFile = 1 | g:readExtra = 2 g:readFile = 0 g:readExtra = 0 - edit Xfile + edit XveryNewFile assert_equal(1, g:readFile) assert_equal(2, g:readExtra) bwipe! au! BufNewFile - au BufNewFile Xfile g:readFile = 1 + au BufNewFile XveryNewFile g:readFile = 1 | g:readExtra = 2 | g:readMore = 3 g:readFile = 0 g:readExtra = 0 g:readMore = 0 - edit Xfile + edit XveryNewFile assert_equal(1, g:readFile) assert_equal(2, g:readExtra) assert_equal(3, g:readMore) diff --git a/src/version.c b/src/version.c index 9b98edcc6b..0943fc14e2 100644 --- a/src/version.c +++ b/src/version.c @@ -732,6 +732,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 232, +/**/ 231, /**/ 230, |