b9d9cd7742
vim-patch:partial:9.0.1886: Various Typos
...
Problem: Various Typos
Solution: Fix Typos
This is a collection of typo related commits.
closes : vim/vim#12753
closes : vim/vim#13016
https://github.com/vim/vim/commit/ee17b6f70d382ec6c5d8d27b56c4e84106ac8c55
Co-authored-by: Christian Brabandt <cb@256bit.org >
Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl >
Co-authored-by: Viktor Szépe <viktor@szepe.net >
Co-authored-by: nuid64 <lvkuzvesov@proton.me >
Co-authored-by: Meng Xiangzhuo <aumo@foxmail.com >
Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com >
2023-09-09 17:58:32 +08:00
zeertzjq and Dominique Pelle
94f2da09e1
vim-patch:8.2.4611: typos in tests; one lua line not covered by test ( #24835 )
...
Problem: Typos in tests; one lua line not covered by test.
Solution: Fix typos. Add test case. (Dominique Pellé, closes vim/vim#9994 )
https://github.com/vim/vim/commit/81b573d7e55bd48988f298ce8e652d902e9bdeba
Cherry-pick test_menu.vim change from patch 9.0.1453.
N/A patch:
vim-patch:8.2.3045: minor typos
Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com >
2023-08-22 20:02:50 +08:00
zeertzjq and Bram Moolenaar
ff801ce7f7
vim-patch:8.2.0533: tests using term_wait() can still be flaky
...
Problem: Tests using term_wait() can still be flaky.
Solution: Increase the wait time when rerunning a test. (James McCoy,
closes vim/vim#5899 ) Halve the initial times to make tests run faster
when there is no rerun.
https://github.com/vim/vim/commit/6a2c5a7dd5c9215cc030d5ea6e4616d782c091dd
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-08-21 15:31:21 +08:00
zeertzjq
78d77c03de
vim-patch:9.0.1631: passing wrong variable type to option gives multiple errors ( #24026 )
...
Problem: Passing a wrong variable type to an option gives multiple errors.
Solution: Bail out early on failure. (closes vim/vim#12504 )
https://github.com/vim/vim/commit/4c7cb372c17a84c8a35254d93eb37cb854cd39da
2023-06-15 08:05:26 +08:00
Famiu Haque
b3d5138fd0
refactor(options): remove getoption_T and introduce OptVal ( #23850 )
...
Removes the `getoption_T` struct and also introduces the `OptVal` struct
to unify the methods of getting/setting different option value types.
This is the first of many PRs to reduce code duplication in the Vim
option code as well as to make options easier to maintain. It also
increases the flexibility and extensibility of options. Which opens the
door for things like Array and Dictionary options.
2023-06-07 08:05:16 +08:00
zeertzjq and Yegappan Lakshmanan
050b24cbcc
vim-patch:9.0.0543: insufficient testing for assert and test functions
...
Problem: Insufficient testing for assert and test functions.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#11190 )
https://github.com/vim/vim/commit/e24b5e0b0f5ab015215ef2761baa98ccb1ba8606
Cherry-pick E1219 from patch 8.2.3229.
Cherry-pick test_assert.vim change from patch 9.0.0491.
Cherry-pick the whole Test_refcount() function and skip it.
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com >
2023-05-05 19:43:13 +08:00
zeertzjq and Bram Moolenaar
15c502d8be
vim-patch:8.2.4892: test failures because of changed error messages
...
Problem: Test failures because of changed error messages.
Solution: Adjust the exptected error messages.
https://github.com/vim/vim/commit/ec892234788d37bfed47d8bf82dd4cae8d335ad9
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-05-05 09:20:30 +08:00
zeertzjq
291fd767e3
vim-patch:8.2.0551: not all code for options is tested
...
Problem: Not all code for options is tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5913 )
https://github.com/vim/vim/commit/1363a30cef382b912bf092969e040333c5c293c6
2023-04-29 09:07:10 +08:00
zeertzjq and Bram Moolenaar
a0d4649c17
vim-patch:9.0.1009: test for catch after interrupt is flaky on MS-Windows
...
Problem: Test for catch after interrupt is flaky on MS-Windows.
Solution: Mark the test as flaky.
https://github.com/vim/vim/commit/72b5b0d51aa9ddf8d338a5a133a667a3c2392ae1
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-19 11:29:35 +08:00
zeertzjq and Bram Moolenaar
94a7ccea43
vim-patch:9.0.1008: test for swapfilelist() fails on MS-Windows
...
Problem: Test for swapfilelist() fails on MS-Windows.
Solution: Only check the tail of the path. Mark a test as flaky.
https://github.com/vim/vim/commit/6cf3151f0e3839332c89367b7384c395a1185927
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-19 11:29:35 +08:00
zeertzjq and Dundar Göc
1b556c04bf
vim-patch:8.2.4476: operator name spelled wrong
...
Problem: Operator name spelled wrong.
Solution: Change trinary to ternary. (Goc Dundar, closes vim/vim#9850 )
https://github.com/vim/vim/commit/e41c1dd8890d3f701253255993f4e9af2d12225c
Co-authored-by: =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com >
2023-04-15 17:15:04 +08:00
zeertzjq and Bram Moolenaar
85741677c8
vim-patch:8.2.0634: crash with null partial and blob
...
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes vim/vim#5984 )
https://github.com/vim/vim/commit/92b83ccfda7a1d654ccaaf161a9c8a8e01fbcf76
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-15 13:48:30 +08:00
zeertzjq and Bram Moolenaar
e36806666f
vim-patch:8.2.2138: Vim9: "exit_cb" causes Vim to exit ( #23087 )
...
Problem: Vim9: "exit_cb" causes Vim to exit.
Solution: Require white space after a command in Vim9 script. (closes vim/vim#7467 )
Also fix that Vim9 style heredoc was not always recognized.
https://github.com/vim/vim/commit/b5b9480ee936ef4cd0e350c468ef8c5f42fa398b
Omit EX_NONWHITE_OK, E1143, E1144: Vim9 script only.
Cherry-pick test_vimscript.vim changes from patch 8.2.2141.
Cherry-pick E1145 tag from Vim runtime.
N/A patches for version.c:
vim-patch:8.2.2140: build failure with tiny features
Problem: Build failure with tiny features.
Solution: Add #ifdef.
https://github.com/vim/vim/commit/2a3cd3af455973d678f70303ebdd486f3478bc0d
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-14 20:35:46 +08:00
zeertzjq and Bram Moolenaar
aaacfd4a6d
vim-patch:8.2.1512: failure after trinary expression fails
...
Problem: Failure after trinary expression fails.
Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes vim/vim#6776 )
https://github.com/vim/vim/commit/69e44552c567ff25b363ba0790ad3d43fa0397a7
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-04-14 17:21:22 +08:00
dundargoc
af23d17388
test: move oldtests to test directory ( #22536 )
...
The new oldtest directory is in test/old/testdir. The reason for this is
that many tests have hardcoded the parent directory name to be
'testdir'.
2023-03-07 11:13:04 +08:00