summaryrefslogtreecommitdiff
path: root/src/testdir/test_popup.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_popup.vim
parent42205551b140bee8b419b24abe210f56bb80b35e (diff)
downloadvim-37175409d766ce67f2548dffa6d73451379b5737.zip
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().
Diffstat (limited to 'src/testdir/test_popup.vim')
-rw-r--r--src/testdir/test_popup.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim
index 2823ed696..4789ca76b 100644
--- a/src/testdir/test_popup.vim
+++ b/src/testdir/test_popup.vim
@@ -562,7 +562,7 @@ func Test_completion_comment_formatting()
%d
try
call feedkeys("o/*\<cr>\<cr>\<c-x>\<c-u>/\<esc>", 'tx')
- call assert_false(1, 'completefunc not set, should have failed')
+ call assert_report('completefunc not set, should have failed')
catch
call assert_exception('E764:')
endtry