comparison src/testdir/test_functions.vim @ 24669:d7644bffe128 v8.2.2873

patch 8.2.2873: not enough tests for writing buffers Commit: https://github.com/vim/vim/commit/46aa6f93acb5d932d2893606d980a6b4b8a9594c Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Wed May 19 17:15:04 2021 +0200 patch 8.2.2873: not enough tests for writing buffers Problem: Not enough tests for writing buffers. Solution: Add a few more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8229)
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 May 2021 17:30:03 +0200
parents 4aebea72c397
children 53fd6370e4fd
comparison
equal deleted inserted replaced
24668:6f26d4555812 24669:d7644bffe128
2628 2628
2629 " Test for glob() 2629 " Test for glob()
2630 func Test_glob() 2630 func Test_glob()
2631 call assert_equal('', glob(test_null_string())) 2631 call assert_equal('', glob(test_null_string()))
2632 call assert_equal('', globpath(test_null_string(), test_null_string())) 2632 call assert_equal('', globpath(test_null_string(), test_null_string()))
2633 call assert_fails("let x = globpath(&rtp, 'syntax/c.vim', [])", 'E745:')
2633 2634
2634 call writefile([], 'Xglob1') 2635 call writefile([], 'Xglob1')
2635 call writefile([], 'XGLOB2') 2636 call writefile([], 'XGLOB2')
2636 set wildignorecase 2637 set wildignorecase
2637 " Sort output of glob() otherwise we end up with different 2638 " Sort output of glob() otherwise we end up with different