aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_undo.vim
Commit message (Collapse)AuthorAge
* test/old: use CheckFunction, enable more testsJan Edmund Lazo2021-03-27
| | | | | | Some skipped tests have custom error messages. Use ":CheckFunction" command for standard error message on missing function.
* vim-patch:8.2.1801: undo file not found when using ":args" or ":next"Jan Edmund Lazo2020-10-05
| | | | | | Problem: Undo file not found when using ":args" or ":next". Solution: Handle like editing another file. (closes vim/vim#7072) https://github.com/vim/vim/commit/55b419b871dd35f5b05dd2aed65f14461b493ba9
* vim-patch:8.1.2024: delete call commented out for debuggingJan Edmund Lazo2020-10-05
| | | | | | Problem: Delete call commented out for debugging. Solution: Restore the delete call. (Christian Brabandt) https://github.com/vim/vim/commit/9283f92008accd0b797d2c913ce191b490ce3c3d
* vim-patch:8.1.1812: reading a truncted undo file hangs VimJan Edmund Lazo2020-10-05
| | | | | | Problem: Reading a truncted undo file hangs Vim. Solution: Check for reading EOF. (closes vim/vim#4769) https://github.com/vim/vim/commit/fb06d767a8d76eead5391302fc88115d6e3879d8
* tests: sync Test_undojoin_redo from Vim #11589Daniel Hahler2019-12-22
| | | This was not added in e0e482589 with Vim patch 8.0.0205.
* vim-patch:8.2.0012: some undo functionality is not testedJan Edmund Lazo2019-12-16
| | | | | | Problem: Some undo functionality is not tested. Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#5364) https://github.com/vim/vim/commit/559b9c68fe550f3af63d42e0838622aab1ceb1b3
* vim-patch:8.2.0008: test72 is old styleJan Edmund Lazo2019-12-16
| | | | | | Problem: Test72 is old style. Solution: Convert to new style test. (Yegappan Lakshmanan, closes vim/vim#5362) https://github.com/vim/vim/commit/3e2d1c8cd61ca073e680f3b221ce887e05ba39cf
* Remove code that is no longer needed by set shellslasherw72019-08-17
|
* vim-patch:8.1.1353: undo test fails on MacFrancisco Giordano2019-05-19
| | | | | | Problem: Undo test fails on Mac. Solution: Expect "private" on the Mac. https://github.com/vim/vim/commit/2b39d806f04c1a474b6d689a7970253850d4adb8
* vim-patch:8.1.1352: undofile() reports wrong nameFrancisco Giordano2019-05-19
| | | | | | | Problem: Undofile() reports wrong name. (Francisco Giordano) Solution: Clean up the name before changing path separators. (closes vim/vim#4392, closes vim/vim#4394) https://github.com/vim/vim/commit/e9ebc9a91cac357fd4888f4b71fdff7d97b41160
* vim-patch:8.0.1267: Test_swap_group may leave file behindJan Edmund Lazo2019-04-29
| | | | | | Problem: Test_swap_group may leave file behind. Solution: Add a try/finally. https://github.com/vim/vim/commit/5842a748be8039fd6d267f5557fe391c6c95399d
* vim-patch:8.1.0585: undo test may fail on MS-WindowsJan Edmund Lazo2018-12-14
| | | | | | Problem: Undo test may fail on MS-Windows. Solution: Also handle lower case drive letters. https://github.com/vim/vim/commit/56242f2b08737677812513c447955579a19aa620
* vim-patch:8.0.1441: using ":undo 0" leaves undo in wrong stateJan Edmund Lazo2018-08-20
| | | | | | | Problem: Using ":undo 0" leaves undo in wrong state. Solution: Instead of searching for state 1 and go above, just use the start. (Ozaki Kiichi, closes vim/vim#2595) https://github.com/vim/vim/commit/ce46d934af35d0f774be7f996001db03cf0b894a
* oldtests: Test_undofile() passesJan Edmund Lazo2018-08-09
| | | | | | Set undodir to Vim's default value. Fix pathsep of expected undofile path for Windows. Comment out invalid test case for Neovim.
* vim-patch:8.1.0025: no test for the undofile() functionJan Edmund Lazo2018-08-09
| | | | | | Problem: No test for the undofile() function. Solution: Add test. (Dominique Pelle, closes vim/vim#2958) https://github.com/vim/vim/commit/e5fa11186fde4a19e505eba403d3af8c61d11304
* vim-patch:8.0.1433: illegal memory access after undoJan Edmund Lazo2018-08-09
| | | | | | | Problem: Illegal memory access after undo. (Dominique Pelle) Solution: Avoid the column becomes negative. (Christian Brabandt, closes vim/vim#2533) https://github.com/vim/vim/commit/95dbcbea6d85a5b79d9617ab3863458fdf0217a0
* vim-patch:8.0.1290: seq_cur of undotree() wrong after undoJan Edmund Lazo2018-08-09
| | | | | | | Problem: seq_cur of undotree() wrong after undo. Solution: Get the actual sequence number instead of decrementing the current one. (Ozaki Kiichi, closes vim/vim#2319) https://github.com/vim/vim/commit/80eaddd3a0bc47cb14168964678420cfe03a2502
* vim-patch:8.0.1200: tests switch the bell off twiceJustin M. Keyes2018-02-11
| | | | | | | Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt) https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
* vim-patch:8.0.1475: invalid memory access in read_redo()Justin M. Keyes2018-02-11
| | | | | | | | Problem: Invalid memory access in read_redo(). (gy741) Solution: Convert the replacement character back from a negative number to CR or NL. (hint by Dominique Pelle, closes vim/vim#2616) https://github.com/vim/vim/commit/f12519dec88251305793f1651f558d16506b4be2
* vim-patch:8.0.1221: still too many old style testsJustin M. Keyes2018-02-11
| | | | | | | | Problem: Still too many old style tests. Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, closes vim/vim#2256) https://github.com/vim/vim/commit/15993ce9210e8b8d4bc11e1d640f6447b18d3e6c
* vim-patch:8.0.0433: beeps when running testsJustin M. Keyes2018-01-21
| | | | | | | Problem: Quite a few beeps when running tests. Solution: Set 'belloff' for these tests. (Christian Brabandt) https://github.com/vim/vim/commit/c3c766ea8c35f5b2bd45fb3d74d0ae46b2d8c24f
* vim-patch:8.0.0149 (#7127)KunMing Xie2017-08-08
| | | | | | | | | Problem: ":earlier" and ":later" do not work after startup or reading the undo file. Solution: Use absolute time stamps instead of relative to the Vim start time. (Christian Brabandt, Pavel Juhas, closes vim/vim#1300, closes vim/vim#1254) https://github.com/vim/vim/commit/cbd4de44e8d08fba3c09eb40ad6e36e83faf020a
* vim-patch:7.4.2296lonerover2017-03-22
| | | | | | | Problem: No tests for :undolist and "U" command. Solution: Add tests. (Dominique Pelle) https://github.com/vim/vim/commit/c628fdcd46e93c308f742efdf54248695960e290
* os_set_cloexec: Fix condition. #5986Justin M. Keyes2017-03-17
| | | | Also: skip Test_undo_del_chars the right way. #6287
* vim-patch:7.4.2113 #6287raichoo2017-03-17
Problem: Test for undo is flaky. Solution: Turn it into a new style test. Use test_settime() to avoid flakyness. https://github.com/vim/vim/commit/170b10b421f0c9fda08b7cfd3bb043c064f3659a