zeertzjq
2a6a93b665
test(old): move some tests from assert_spec.lua to test_assert.vim
2022-02-13 09:23:20 +08:00
Sean Dewar
7925f0b633
vim-patch:8.1.1909: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make a few more functions usable as a method.
e49fbff384
2021-08-12 22:35:24 +01:00
Jan Edmund Lazo
8b60368c1b
vim-patch:8.1.0958: compiling weird regexp pattern is very slow
...
Problem: Compiling weird regexp pattern is very slow.
Solution: When reallocating post list increase size by 50%. (Kuang-che Wu,
closes vim/vim#4012 ) Make assert_inrange() accept float values.
38f08e76ac
Omit changes to typval_compare()
because patch v8.0.1505 was not ported.
2021-03-29 08:23:02 -04:00
Jan Edmund Lazo
bf88228180
vim-patch:8.2.0899: assert_equalfile() does not give a hint about the difference
...
Problem: Assert_equalfile() does not give a hint about the difference.
Solution: Display the last seen text.
30cc44a97f
2020-07-19 11:40:34 -04:00
Jan Edmund Lazo
93f2dc0d03
vim-patch:8.2.0893: assert_equalfile() does not take a third argument
...
Problem: Assert_equalfile() does not take a third argument.
Solution: Implement the third argument. (Gary Johnson)
fb517bac23
2020-07-19 11:40:34 -04:00
Jan Edmund Lazo
8db9e82e3e
vim-patch:8.0.1770: assert functions don't return anything
...
Problem: Assert functions don't return anything.
Solution: Return non-zero when the assertion fails.
65a5464985
2019-09-16 23:42:44 -04:00
Jan Edmund Lazo
792c290343
vim-patch:8.0.1523: cannot write and read terminal screendumps
...
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
d96ff16511
2019-09-16 21:36:46 -04:00
Daniel Hahler
108eb4201f
vim-patch:8.1.1660: assert_fails() inside try/catch #10472
...
Problem: Assert_fails() does not fail inside try/catch.
Solution: Set trylevel to zero. (Ozaki Kiichi, closes vim/vim#4639 )
7780e5c1c5
2019-07-13 00:09:05 +02:00
Jan Edmund Lazo
c6c5754a86
vim-patch:8.1.0044: if a test function exists Vim this may go unnoticed
...
Problem: If a test function exists Vim this may go unnoticed.
Solution: Check for a test funtion quitting Vim. Fix tests that did exit
Vim.
8903676d3d
Restore test_assert.vim to run Test_zz_quit_detected().
2019-06-15 21:48:27 -04:00