diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-18 20:18:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-18 20:18:45 +0100 |
commit | 37175409d766ce67f2548dffa6d73451379b5737 (patch) | |
tree | 2e8e01db9672be9049ed94a1ed3192356441d628 /src/testdir/test_perl.vim | |
parent | 42205551b140bee8b419b24abe210f56bb80b35e (diff) | |
download | vim-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.vim | 2 |
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 |