aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_exit.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-13 21:31:00 +0800
committerGitHub <noreply@github.com>2022-08-13 21:31:00 +0800
commit02a4974418b7fb18c5034b7b2fc85ce4cde7d370 (patch)
treeba7855e0aa3708a3985a9235cdc290a6271d82c8 /src/nvim/testdir/test_exit.vim
parent33b49d5f55423a1a3174ad0ce42c4454871aa9f8 (diff)
downloadrneovim-02a4974418b7fb18c5034b7b2fc85ce4cde7d370.tar.gz
rneovim-02a4974418b7fb18c5034b7b2fc85ce4cde7d370.tar.bz2
rneovim-02a4974418b7fb18c5034b7b2fc85ce4cde7d370.zip
vim-patch:7.4.1168 (#19645)
Problem: This doesn't give the right result: eval(string(v:true)). (Nikolay Pavlov) Solution: Make the string "v:true" instead of "true". https://github.com/vim/vim/commit/f48aa160fdd7b8caa7678e1a2139244dd2bdc547
Diffstat (limited to 'src/nvim/testdir/test_exit.vim')
-rw-r--r--src/nvim/testdir/test_exit.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_exit.vim b/src/nvim/testdir/test_exit.vim
index befcaec2b2..37be293950 100644
--- a/src/nvim/testdir/test_exit.vim
+++ b/src/nvim/testdir/test_exit.vim
@@ -95,7 +95,7 @@ func Test_exit_code()
[CODE]
if RunVim(before, ['quit'], '')
- call assert_equal(['qp = null', 'ep = null', 'lp = 0', 'l = 0'], readfile('Xtestout'))
+ call assert_equal(['qp = v:null', 'ep = v:null', 'lp = 0', 'l = 0'], readfile('Xtestout'))
endif
call delete('Xtestout')