diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-06 05:59:04 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-04-06 05:59:13 +0800 |
commit | c7d12a5e0110d3dcaa866c157d12fd33a6bed95b (patch) | |
tree | 3756b635dd15bd1feec4c710896f76673def8e81 /test/functional/vimscript/json_functions_spec.lua | |
parent | f4a0c853db8ee3c797c108da9d9d48e697f10667 (diff) | |
download | rneovim-c7d12a5e0110d3dcaa866c157d12fd33a6bed95b.tar.gz rneovim-c7d12a5e0110d3dcaa866c157d12fd33a6bed95b.tar.bz2 rneovim-c7d12a5e0110d3dcaa866c157d12fd33a6bed95b.zip |
vim-patch:9.1.0269: Test for TextChanged is still flaky with ASAN
Problem: Test for TextChanged is still flaky with ASAN.
Solution: Don't index the result of readfile().
(zeertzjq)
It turns out that with ASAN the file may become empty during a write
even if it's non-empty both before and after the write, in which case
indexing the result of readfile() will error, so use join() instead.
Also don't delete the file halfway the test, just in case it may cause
errors on the next read.
closes: vim/vim#14421
https://github.com/vim/vim/commit/e9ff79a7c9affea970f50de2aa65f62080b55323
Diffstat (limited to 'test/functional/vimscript/json_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions