Mercurial > vim
comparison src/testdir/test_cmdline.vim @ 32477:0a0b9371957f v9.0.1570
patch 9.0.1570: some tests are slow
Commit: https://github.com/vim/vim/commit/bf63011a52a3cc32609ae5945665875062a5ae50
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 19 21:41:02 2023 +0100
patch 9.0.1570: some tests are slow
Problem: Some tests are slow.
Solution: Make a few test cases faster.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 19 May 2023 22:45:03 +0200 |
parents | 8f77a43f8aac |
children | 0da40da0bbaa |
comparison
equal
deleted
inserted
replaced
32476:2dd215ad5fc2 | 32477:0a0b9371957f |
---|---|
789 | 789 |
790 let $PATH = save_path | 790 let $PATH = save_path |
791 endfunc | 791 endfunc |
792 | 792 |
793 func Test_expand_star_star() | 793 func Test_expand_star_star() |
794 call mkdir('a/b', 'pR') | 794 call mkdir('a/b/c', 'pR') |
795 call writefile(['asdfasdf'], 'a/b/fileXname') | 795 call writefile(['asdfasdf'], 'a/b/c/fileXname') |
796 call feedkeys(":find **/fileXname\<Tab>\<CR>", 'xt') | 796 call feedkeys(":find a/**/fileXname\<Tab>\<CR>", 'xt') |
797 call assert_equal('find a/b/fileXname', @:) | 797 call assert_equal('find a/b/c/fileXname', @:) |
798 bwipe! | 798 bwipe! |
799 endfunc | 799 endfunc |
800 | 800 |
801 func Test_cmdline_paste() | 801 func Test_cmdline_paste() |
802 let @a = "def" | 802 let @a = "def" |