Mercurial > vim
comparison src/testdir/shared.vim @ 17049:f38fcbf343ce v8.1.1524
patch 8.1.1524: tests are silently skipped
commit https://github.com/vim/vim/commit/b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 13 22:19:53 2019 +0200
patch 8.1.1524: tests are silently skipped
Problem: Tests are silently skipped.
Solution: Throw an exception for skipped tests in more places.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 13 Jun 2019 22:30:07 +0200 |
parents | 2b15ee496cbd |
children | 7927cf327396 |
comparison
equal
deleted
inserted
replaced
17048:dcbd3676e9d6 | 17049:f38fcbf343ce |
---|---|
328 return 1 | 328 return 1 |
329 endfunc | 329 endfunc |
330 | 330 |
331 " Get line "lnum" as displayed on the screen. | 331 " Get line "lnum" as displayed on the screen. |
332 " Trailing white space is trimmed. | 332 " Trailing white space is trimmed. |
333 func! Screenline(lnum) | 333 func Screenline(lnum) |
334 let chars = [] | 334 let chars = [] |
335 for c in range(1, winwidth(0)) | 335 for c in range(1, winwidth(0)) |
336 call add(chars, nr2char(screenchar(a:lnum, c))) | 336 call add(chars, nr2char(screenchar(a:lnum, c))) |
337 endfor | 337 endfor |
338 let line = join(chars, '') | 338 let line = join(chars, '') |