Mercurial > vim
comparison src/testdir/test_statusline.vim @ 28171:b4c111ea83b1 v8.2.4611
patch 8.2.4611: typos in tests; one lua line not covered by test
Commit: https://github.com/vim/vim/commit/81b573d7e55bd48988f298ce8e652d902e9bdeba
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Tue Mar 22 21:14:55 2022 +0000
patch 8.2.4611: typos in tests; one lua line not covered by test
Problem: Typos in tests; one lua line not covered by test.
Solution: Fix typos. Add test case. (Dominique Pell?, closes https://github.com/vim/vim/issues/9994)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Mar 2022 22:30:03 +0100 |
parents | 8f1f4f6c87ad |
children | bd5b6ac5998f |
comparison
equal
deleted
inserted
replaced
28170:e882a67c742e | 28171:b4c111ea83b1 |
---|---|
258 call assert_match('^vimNumber\s*$', s:get_statusline()) | 258 call assert_match('^vimNumber\s*$', s:get_statusline()) |
259 s/^/"/ | 259 s/^/"/ |
260 call assert_match('^vimLineComment\s*$', s:get_statusline()) | 260 call assert_match('^vimLineComment\s*$', s:get_statusline()) |
261 syntax off | 261 syntax off |
262 | 262 |
263 "%{%expr%}: evaluates enxpressions present in result of expr | 263 "%{%expr%}: evaluates expressions present in result of expr |
264 func! Inner_eval() | 264 func! Inner_eval() |
265 return '%n some other text' | 265 return '%n some other text' |
266 endfunc | 266 endfunc |
267 func! Outer_eval() | 267 func! Outer_eval() |
268 return 'some text %{%Inner_eval()%}' | 268 return 'some text %{%Inner_eval()%}' |