From 622b3568fa1baf07671d31390815fb0a55a99891 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 27 Jul 2020 20:02:41 +0200 Subject: patch 8.2.1305: some tests are still old style Problem: Some tests are still old style. Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan, closes #6544) Fix error in FinishTesting(). --- src/testdir/runtest.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/runtest.vim') diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 6cc7202dc7..e42b0cabdb 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -447,7 +447,7 @@ for g:testfunc in sort(s:tests) " - it fails again with the same message " - it fails five times (with a different message) if len(v:errors) > 0 - \ $TEST_NO_RETRY == '' + \ && $TEST_NO_RETRY == '' \ && (index(s:flaky_tests, g:testfunc) >= 0 \ || g:test_is_flaky) while 1 -- cgit v1.2.3