Mercurial > vim
comparison src/testdir/test_startup_utf8.vim @ 20625:116c7bd5e980 v8.2.0866
patch 8.2.0866: not enough tests for buffer writing
Commit: https://github.com/vim/vim/commit/494e9069cb32620f7688a7cb128a3feff827639e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 31 21:28:02 2020 +0200
patch 8.2.0866: not enough tests for buffer writing
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 31 May 2020 21:30:03 +0200 |
parents | c087099e9163 |
children | 1e2e81dbb958 |
comparison
equal
deleted
inserted
replaced
20624:f782c48d548a | 20625:116c7bd5e980 |
---|---|
60 call delete('Xtestout') | 60 call delete('Xtestout') |
61 call delete('Xtestin') | 61 call delete('Xtestin') |
62 endfunc | 62 endfunc |
63 | 63 |
64 func Test_detect_ambiwidth() | 64 func Test_detect_ambiwidth() |
65 if !CanRunVimInTerminal() | 65 CheckRunVimInTerminal |
66 throw 'Skipped: cannot run Vim in a terminal window' | |
67 endif | |
68 | 66 |
69 " Use the title termcap entries to output the escape sequence. | 67 " Use the title termcap entries to output the escape sequence. |
70 call writefile([ | 68 call writefile([ |
71 \ 'set enc=utf-8', | 69 \ 'set enc=utf-8', |
72 \ 'set ambiwidth=double', | 70 \ 'set ambiwidth=double', |