Mercurial > vim
diff src/testdir/test_filetype.vim @ 12688:a6a935b3270e v8.0.1222
patch 8.0.1222: test functions interfere with each other
commit https://github.com/vim/vim/commit/ce11de87e26e1420703242f8e07b4fd69c4032ba
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 26 22:00:00 2017 +0200
patch 8.0.1222: test functions interfere with each other
Problem: Test functions interfere with each other.
Solution: Cleanup tab pages, windows and buffers. Reset option.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 26 Oct 2017 22:15:04 +0200 |
parents | d5710baf5cf7 |
children | 41b7a660ed2a |
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -548,7 +548,7 @@ func Test_script_detection() for file in files call writefile(file, 'Xtest') split Xtest - call assert_equal(ft, &filetype) + call assert_equal(ft, &filetype, 'for text: ' . string(file)) bwipe! endfor endfor