patch 8.0.0478: tests use assert_true(0) and assert_false(1) to report errors
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
diff --git a/src/testdir/test_viminfo.vim b/src/testdir/test_viminfo.vim
index 7d0f157..6c0e533 100644
--- a/src/testdir/test_viminfo.vim
+++ b/src/testdir/test_viminfo.vim
@@ -450,13 +450,13 @@
let lnum = line('.')
while 1
if lnum == line('$')
- call assert_false(1, 'mark not found in Xtestfileintab')
+ call assert_report('mark not found in Xtestfileintab')
break
endif
let lnum += 1
let line = getline(lnum)
if line == ''
- call assert_false(1, 'mark not found in Xtestfileintab')
+ call assert_report('mark not found in Xtestfileintab')
break
endif
if line =~ "^\t\""