diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-02-04 22:17:25 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-02-04 22:17:25 +0800 |
| commit | 9b0363d365f92b1a31bcf0fc32969a4667c11e95 (patch) | |
| tree | c1ed6a90c2ed63a155693b8ce8c71d3319e75d4e /src/nvim/testdir/test_cscope.vim | |
| parent | cb863d4e1f2c14eca46dda053a0d3062a0802196 (diff) | |
| download | rneovim-9b0363d365f92b1a31bcf0fc32969a4667c11e95.tar.gz rneovim-9b0363d365f92b1a31bcf0fc32969a4667c11e95.tar.bz2 rneovim-9b0363d365f92b1a31bcf0fc32969a4667c11e95.zip | |
vim-patch:8.2.1128: the write message mentions characters, but it's bytes
Problem: The write message mentions characters, but it's actually bytes.
Solution: Change "C" to "B" and "characters" to "bytes".
https://github.com/vim/vim/commit/3f40ce78f5c178d15871bd784ed878c78f0b8a44
Diffstat (limited to 'src/nvim/testdir/test_cscope.vim')
| -rw-r--r-- | src/nvim/testdir/test_cscope.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_cscope.vim b/src/nvim/testdir/test_cscope.vim index cc6154af69..faf37485cd 100644 --- a/src/nvim/testdir/test_cscope.vim +++ b/src/nvim/testdir/test_cscope.vim @@ -102,7 +102,7 @@ func Test_cscopeWithCscopeConnections() for cmd in ['cs find f Xmemfile_test.c', 'cs find 7 Xmemfile_test.c'] enew let a = execute(cmd) - call assert_true(a =~ '"Xmemfile_test.c" \d\+L, \d\+C') + call assert_true(a =~ '"Xmemfile_test.c" \d\+L, \d\+B') call assert_equal('Xmemfile_test.c', @%) endfor @@ -112,7 +112,7 @@ func Test_cscopeWithCscopeConnections() let a = execute(cmd) let alines = split(a, '\n', 1) call assert_equal('', alines[0]) - call assert_true(alines[1] =~ '"Xmemfile_test.c" \d\+L, \d\+C') + call assert_true(alines[1] =~ '"Xmemfile_test.c" \d\+L, \d\+B') call assert_equal('(1 of 1): <<global>> #include <assert.h>', alines[2]) call assert_equal('#include <assert.h>', getline('.')) endfor |