Mercurial > vim
view src/testdir/test_excmd.vim @ 17734:c92899aa761a v8.1.1864
patch 8.1.1864: still a timer test that is flaky on Mac
commit https://github.com/vim/vim/commit/413c04e8d515f604a17b90295c86a0fd547518ba
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 16 22:29:18 2019 +0200
patch 8.1.1864: still a timer test that is flaky on Mac
Problem: Still a timer test that is flaky on Mac.
Solution: Adjust the sleep times.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 16 Aug 2019 22:30:04 +0200 |
parents | a1437b8f2fac |
children | 18d7337b6837 |
line wrap: on
line source
" Tests for various Ex commands. func Test_ex_delete() new call setline(1, ['a', 'b', 'c']) 2 " :dl is :delete with the "l" flag, not :dlist .dl call assert_equal(['a', 'c'], getline(1, 2)) endfunc func Test_range_error() call assert_fails(':.echo 1', 'E481:') call assert_fails(':$echo 1', 'E481:') call assert_fails(':1,2echo 1', 'E481:') call assert_fails(':+1echo 1', 'E481:') call assert_fails(':/1/echo 1', 'E481:') call assert_fails(':\/echo 1', 'E481:') normal vv call assert_fails(":'<,'>echo 1", 'E481:') endfunc