diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-07-17 10:19:31 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2024-07-18 06:18:03 +0800 |
| commit | 457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52 (patch) | |
| tree | 7bfcb7a0cc38e6a2473f8c21ce58d4dd6b828276 /test/old/testdir/test_map_functions.vim | |
| parent | f17d81933067c5356f1c8419218d61aaaec9046c (diff) | |
| download | rneovim-457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52.tar.gz rneovim-457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52.tar.bz2 rneovim-457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52.zip | |
vim-patch:9.0.1257: code style is not check in test scripts
Problem: Code style is not check in test scripts.
Solution: Add basic code style check for test files.
https://github.com/vim/vim/commit/94722c510745a0cfd494c51625a514b92dd2bfb2
Use Test_test_files() from latest Vim.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/old/testdir/test_map_functions.vim')
| -rw-r--r-- | test/old/testdir/test_map_functions.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_map_functions.vim b/test/old/testdir/test_map_functions.vim index 0898242154..8f7c8bae76 100644 --- a/test/old/testdir/test_map_functions.vim +++ b/test/old/testdir/test_map_functions.vim @@ -20,7 +20,7 @@ func Test_maparg() call assert_equal({'silent': 0, 'noremap': 0, 'script': 0, 'lhs': 'foo<C-V>', \ 'lhsraw': "foo\x80\xfc\x04V", 'lhsrawalt': "foo\x16", \ 'mode': ' ', 'nowait': 0, 'expr': 0, 'sid': sid, 'scriptversion': 1, - \ 'lnum': lnum + 1, + \ 'lnum': lnum + 1, \ 'rhs': 'is<F4>foo', 'buffer': 0, 'abbr': 0, 'mode_bits': 0x47}, \ maparg('foo<C-V>', '', 0, 1)) call assert_equal({'silent': 1, 'noremap': 1, 'script': 1, 'lhs': 'bar', |