| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
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'.
|
| |
|
|
|
|
|
|
| |
Problem: No command line completion for :breakadd and :breakdel.
Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
closes vim/vim#9950)
https://github.com/vim/vim/commit/6e2e2cc95b913e33145047e0fade5193da6e4379
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: MS-Windows: most users expect using Unicode.
Solution: Default 'encoding' to utf-8 on MS-Windows. (Ken Takata,
closes vim/vim#3907)
https://github.com/vim/vim/commit/f883d9027c750967b115b82de984ee449ab17aa8
Correct the encoding of the file.
Co-authored-by: K.Takata <kentkt@csc.jp>
|
| |
|
|
|
|
|
|
|
| |
Problem: Not enough tests for writing buffers.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8229)
https://github.com/vim/vim/commit/46aa6f93acb5d932d2893606d980a6b4b8a9594c
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| |
|
|
|
|
|
|
|
| |
Problem: Get readonly error for device that can't be written to.
Solution: Check for being able to write first. (closes vim/vim#8205)
https://github.com/vim/vim/commit/50157ef1c2e36d8696e79fd688bdd08312196bc6
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
| |
Problem: Bufwrite not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8192)
https://github.com/vim/vim/commit/36f96a515109dc1fad279571a645c0f0d65f2de4
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
|
| |
|
|
|
|
|
|
|
| |
Problem: Some tests fail when run as root.
Solution: Use CheckNotRoot.
https://github.com/vim/vim/commit/17709e280ac5ba234b04641cde88d38e3522cedf
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
|
|
| |
Problem: Tests fail when run as root.
Solution: Add a comment mentioning the expected failure. (issue vim/vim#7919)
https://github.com/vim/vim/commit/f9a65505d1d93f3e67e5b8646bde3bbc44c70f7d
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
| |
Problem: Some tests fail on Cirrus CI and/or with FreeBSD.
Solution: Make 'backupskip' empty. Do not run tests as root. Check for
directory when using viminfo. (Ozaki Kiichi, closes vim/vim#6596)
https://github.com/vim/vim/commit/b86abadf87bd0f85f800077171ec4b98aefff776
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
https://github.com/vim/vim/commit/9b7bf9e98f06ece595fed7a3ff53ecce89797a53
Skip test_listener.vim, test_textprop.vim, test_viminfo.vim.
Skip test_python2.vim: affected line fails and hasn't been ported.
Skip test_python3.vim: affected lines fail and haven't been ported.
Skip CHECK_LIST_MATERIALIZE.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
| |
|
|
|
|
|
| |
Problem: Not sufficient testing for buffer writing.
Solution: Add a few tests. (Yegappan Lakshmanan, closes vim/vim#6238)
https://github.com/vim/vim/commit/1de5f7c81d5e78fb4d612134bd2dfa6ee9183fae
|
| |
|
|
|
|
|
|
| |
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes vim/vim#6167)
https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Problem: Insufficient testing for invalid function arguments.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5988)
https://github.com/vim/vim/commit/99fa721944dda9d07c53c907c33466728df5c271
Omit test_listener.vim: changed again in patch 8.2.1183.
Omit test_textprop.vim: changed again in patch 8.2.1183.
Cherry-pick quickfix feature checks from patch 8.1.2373.
Omit Test_saveas() change: duplicate and removed in patch 8.2.0866.
|
| |
|
|
|
|
|
| |
buffer (#20258)
Problem: Confusing error for "saveas" command with "nofile" buffer.
Solution: Give a clearer error message. (closes vim/vim#11171)
https://github.com/vim/vim/commit/500a1f9972afa354f0bc77bc535aabf9f5f0116d
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Insufficient testing for reading/writing files.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6257)
Add "ui_delay" to test_override() and use it for the CTRL-O test.
https://github.com/vim/vim/commit/b340baed9f7fc1c19a0742e2214d54982190c15e
Omit test_override().
Reorder test_writefile.vim to match Vim.
|
| |
|
|
|
|
| |
Problem: Some code not covered by tests.
Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649)
https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vim-patch:8.2.0212: missing search/substitute pattern hardly tested
Problem: Missing search/substitute pattern hardly tested.
Solution: Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
closes vim/vim#5579)
https://github.com/vim/vim/commit/07ada5ff2fd8f22ed3233ae5c4ddf87c7b3f56fe
vim-patch:8.2.0250: test_clear_search_pat() is unused
Problem: test_clear_search_pat() is unused.
Solution: Remove the function. (Yegappan Lakshmanan, closes vim/vim#5624)
https://github.com/vim/vim/commit/4f5776c17cd86f904a7e2f92db297c73e28939b7
|
| |
|
|
|
|
| |
Problem: Write file test still fails on MS-Windows.
Solution: Set fileformat with the :edit command
https://github.com/vim/vim/commit/16204962c7ad7380a40f0855443303ad16114e2b
|
| |
|
|
|
|
| |
Problem: Write file test fails on MS-Windows.
Solution: Force edit after setting 'fileformat'.
https://github.com/vim/vim/commit/bd318559cf8dea210e943100536011473f25bf68
|
| |
|
|
|
|
|
| |
Problem: First write after setting 'eol' does not have NL added. (Tomáš
Janoušek)
Solution: Only use b_no_eol_lnum when doing a binary write. (closes vim/vim#7535)
https://github.com/vim/vim/commit/b3c8b1d25414f2e24ad03551cdf125b3e2c142b1
|
| |
|
|
|
|
|
|
| |
Problem: Test 42 is still old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes vim/vim#6561)
https://github.com/vim/vim/commit/b61ef01cce2afd70fbfa2805336a26643109dfb7
Including the Xtest2 -> Xfile2 change from Vim patch 8.2.1498.
|
| |
|
|
|
|
| |
Problem: Some Ex commands not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5565)
https://github.com/vim/vim/commit/ea3db914c0fa35797ad73f6d5bb3a4288d690065
|
| |
|
|
|
|
|
|
|
| |
Problem: Not easy to recognize the system Vim runs on.
Solution: Add more items to the features list. (Ozaki Kiichi, closes vim/vim#3855)
https://github.com/vim/vim/commit/39536dd557e847e80572044c2be319db5886abe3
Some doc changes have already been applied. Some others are N/A.
"moon" was removed in patch 8.2.0427 so I did not add it.
|
| |
|
|
|
|
|
|
|
| |
Problem: Some code is not tested.
Solution: Add some more tests. (Dominique Pellé, closes vim/vim#8735)
https://github.com/vim/vim/commit/bd9e7961256ea6a98bd5a7bfe14e32c4c47186e6
Include Test_confirm_write_partial_file() anyway, even though it will
not be run.
|
| |
|
|
|
|
| |
Problem: Writefile() error does not give a hint.
Solution: Add remark about first argument.
https://github.com/vim/vim/commit/18a2b87ca27c378a555b20f14a284d2ce3511427
|
| |
|
|
|
|
|
| |
Problem: QuitPre is triggered before :wq writes the file, which is
different from other commands.
Solution: Trigger QuitPre after writing the file. (closes vim/vim#8279)
https://github.com/vim/vim/commit/1174b018a6d705ddb8c04f3d21f78ae760aa0856
|
| |
|
|
|
|
| |
Problem: Various commands not completely tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes vim/vim#5551)
https://github.com/vim/vim/commit/5d98dc2a48156d44139b75c689bd3137ff7fe8bf
|
| |
|
|
|
|
|
|
|
|
| |
Problem: Some tests are still old style.
Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
closes vim/vim#6544) Fix error in FinishTesting().
https://github.com/vim/vim/commit/622b3568fa1baf07671d31390815fb0a55a99891
Omit test_mzscheme.vim.
Neovim does not support "mzscheme" feature.
|
| |
|
|
|
|
|
| |
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes vim/vim#5059)
https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d
|
| |
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
|
| |
|
|
|
|
|
| |
Problem: Some tests fail on Solaris.
Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish
case change. (Libor Bukata, Bjorn Linse, closes vim/vim#3403)
https://github.com/vim/vim/commit/f1c118be93184e8e57e3e80b1b3383f464ed649e
|
| |
|
|
|
| |
Problem: Writefile() never calls fsync().
Solution: Follow the 'fsync' option with override to enable or disable.
https://github.com/vim/vim/commit/7567d0b115e332f61a9f390aaccdf7825b891227
|
| | |
|
| |
|
|
|
|
|
|
| |
patch 8.0.1744: on some systems /dev/stdout isn't writable
Problem: On some systems /dev/stdout isn't writable.
Solution: Skip test if writing is not possible. (James McCoy, closes vim/vim#2830)
https://github.com/vim/vim/commit/9980b37a80dc72eef05bf8862aaf475ab17790a5
|
| |
|
|
|
|
|
|
| |
patch 8.0.1339: no test for what 8.0.1335 fixes
Problem: No test for what 8.0.1335 fixes.
Solution: Add a test. (Yasuhiro Matsumoto, closes vim/vim#2373)
https://github.com/vim/vim/commit/83799a7b7414048df4ff4e507293416e8438e225
|
| |
|
|
|
|
| |
Problem: Writefile test fails when run under /tmp.
Solution: Adjust 'backupskip. (Kenta Sato, closes vim/vim#4462)
https://github.com/vim/vim/commit/c28cb5b16df76353a5995fda3b9341612b8630c1
|
| |
|
|
|
|
|
|
| |
Problem: If writing runs into a conversion error the backup file is
deleted. (Arseny Nasokin)
Solution: Don't delete the backup file is the file was overwritten and a
conversion error occurred. (Christian Brabandt, closes vim/vim#4387)
https://github.com/vim/vim/commit/cf0bfd9ade5173bcc12563bfc90c21a4db10535d
|
| |
|
|
|
|
|
|
| |
Problem: When making backups is disabled and conversion with iconv fails
the written file is truncated. (Luo Chen)
Solution: First try converting the file and write the file only when it did
not fail. (partly by Christian Brabandt)
https://github.com/vim/vim/commit/e6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3
|
| |
|
|
|
|
|
| |
Problem: 'autowrite' takes effect when buffer is not to be written.
Solution: Don't write buffers that are not supposed to be written. (Even Q
Jones, closes vim/vim#3391) Add tests for 'autowrite'.
https://github.com/vim/vim/commit/8c9e7b00f6566dc41e794ef11c93d93b034c7134
|
| |
|
|
|
|
|
|
| |
Problem: Vim becomes unusable after opening new window in BufWritePre
event.
Solution: Call not_exiting(). (Martin Tournoij, closes vim/vim#2205)
Also for "2q" when a help window is open. Add a test.
https://github.com/vim/vim/commit/2c33d7bb69c4c2c5b0e39b03cc4b0c04cfdfbb0b
|
| |
|
|
|
|
| |
It validates list items with tv_check_str_on_nr()
to catch invalid types (ex. E745, E805).
If there is an invalid item, it does not write to the file.
|
| |
|
|
|
|
|
| |
Problem: writefile() continues after detecting an error.
Solution: Bail out as soon as an error is detected. (suggestions by Nikolai
Pavlov, closes vim/vim#1476)
https://github.com/vim/vim/commit/8cf91286ca46a501d24e4b7d631b193256782c88
|
|
|
Problem: Marks, writefile and nested function tests are old style.
Solution: Turn them into new style tests. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/19a1669ffc796e30a83c5600f82f12ebf63a2261
|