Mercurial > vim
comparison src/testdir/test_cmdline.vim @ 29083:3de91964bbd6 v8.2.5063
patch 8.2.5063: error for a command may go over the end of IObuff
Commit: https://github.com/vim/vim/commit/44a3f3353e0407e9fffee138125a6927d1c9e7e5
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 6 15:38:21 2022 +0100
patch 8.2.5063: error for a command may go over the end of IObuff
Problem: Error for a command may go over the end of IObuff.
Solution: Truncate the message.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 06 Jun 2022 16:45:03 +0200 |
parents | e7bd4c788053 |
children | a5846b82119b |
comparison
equal
deleted
inserted
replaced
29082:c009a9830f56 | 29083:3de91964bbd6 |
---|---|
3411 let caught = 'yes' | 3411 let caught = 'yes' |
3412 endtry | 3412 endtry |
3413 call assert_equal('yes', caught) | 3413 call assert_equal('yes', caught) |
3414 endfunc | 3414 endfunc |
3415 | 3415 |
3416 func Test_long_error_message() | |
3417 " the error should be truncated, not overrun IObuff | |
3418 silent! norm Q00000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
3419 endfunc | |
3420 | |
3416 " vim: shiftwidth=2 sts=2 expandtab | 3421 " vim: shiftwidth=2 sts=2 expandtab |