diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-01-01 22:28:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-01 07:28:52 -0700 |
commit | a5eadbaf3c6323761f307aa905ff92a75f29c1e2 (patch) | |
tree | b09c4f2988e3e6282609116f86fcc466e7a26556 /test/functional/terminal/buffer_spec.lua | |
parent | 5dbc64dcedf388d3d694fda4efb3c916d8641b86 (diff) | |
download | rneovim-a5eadbaf3c6323761f307aa905ff92a75f29c1e2.tar.gz rneovim-a5eadbaf3c6323761f307aa905ff92a75f29c1e2.tar.bz2 rneovim-a5eadbaf3c6323761f307aa905ff92a75f29c1e2.zip |
test: make some tests more stable (#16860)
Diffstat (limited to 'test/functional/terminal/buffer_spec.lua')
-rw-r--r-- | test/functional/terminal/buffer_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/terminal/buffer_spec.lua b/test/functional/terminal/buffer_spec.lua index f25cfa2039..1ff451434d 100644 --- a/test/functional/terminal/buffer_spec.lua +++ b/test/functional/terminal/buffer_spec.lua @@ -350,7 +350,7 @@ describe('on_lines does not emit out-of-bounds line indexes when', function() end) it('creating a terminal buffer #16394', function() - feed_command([[autocmd TermOpen * ++once call v:lua.register_callback(expand("<abuf>"))]]) + feed_command('autocmd TermOpen * ++once call v:lua.register_callback(str2nr(expand("<abuf>")))') feed_command('terminal') sleep(500) eq('', exec_lua([[return _G.cb_error]])) |