aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/put_spec.lua
Commit message (Collapse)AuthorAge
* vim-patch:8.2.3661: test for put with large count failszeertzjq2022-02-18
| | | | | | Problem: Test for put with large count fails. Solution: Adjust the counts in the test. https://github.com/vim/vim/commit/8bc07e800c2af36686aadd4178cc2671f5c454d4
* vim-patch:8.2.3601: check for overflow in put count does not work wellSean Dewar2022-02-17
Problem: Check for overflow in put count does not work well. Solution: Improve the overflow check. (Ozaki Kiichi, closes vim/vim#9102) https://github.com/vim/vim/commit/fa53722367c3793fda95dac665af74b8651065e9 Add some casts as Nvim uses size_t variables in some places. We could technically adjust the logic to check for overflow outside of size_t's range, but it's much easier to just port the patch exactly (also means we can use the same tests). v:sizeoflong is N/A, so convert the 64-bit tests to Lua and use the FFI to check long's size.