summaryrefslogtreecommitdiff
path: root/src/testdir/test_perl.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-18 20:18:45 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-18 20:18:45 +0100
commit37175409d766ce67f2548dffa6d73451379b5737 (patch)
tree2e8e01db9672be9049ed94a1ed3192356441d628 /src/testdir/test_perl.vim
parent42205551b140bee8b419b24abe210f56bb80b35e (diff)
downloadvim-git-37175409d766ce67f2548dffa6d73451379b5737.tar.gz
patch 8.0.0478: tests use assert_true(0) and assert_false(1) to report errorsv8.0.0478
Problem: Tests use assert_true(0) and assert_false(1) to report errors. Solution: Use assert_report().
Diffstat (limited to 'src/testdir/test_perl.vim')
-rw-r--r--src/testdir/test_perl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_perl.vim b/src/testdir/test_perl.vim
index 16fc68719..6ef17ad8b 100644
--- a/src/testdir/test_perl.vim
+++ b/src/testdir/test_perl.vim
@@ -132,7 +132,7 @@ func <SID>catch_peval(expr)
catch
return v:exception
endtry
- call assert_true(0, 'no exception for `perleval("'.a:expr.'")`')
+ call assert_report('no exception for `perleval("'.a:expr.'")`')
return ''
endfunc