From ce11de87e26e1420703242f8e07b4fd69c4032ba Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 26 Oct 2017 22:00:00 +0200 Subject: 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. --- src/testdir/test_filetype.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/test_filetype.vim') diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 061c3795ad..1a427f6412 100644 --- 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 -- cgit v1.2.3