Mercurial > vim
diff src/testdir/test_cscope.vim @ 21154:9f9c26b3ddc5 v8.2.1128
patch 8.2.1128: the write message mentions characters, but it's bytes
Commit: https://github.com/vim/vim/commit/3f40ce78f5c178d15871bd784ed878c78f0b8a44
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 5 14:10:13 2020 +0200
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".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Jul 2020 14:15:07 +0200 |
parents | d9378abde532 |
children | 6a4806e326dd |
line wrap: on
line diff
--- a/src/testdir/test_cscope.vim +++ b/src/testdir/test_cscope.vim @@ -103,7 +103,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 @@ -113,7 +113,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