aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_expr.vim
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-06-05 23:41:46 -0400
committerJames McCoy <jamessan@jamessan.com>2017-06-06 06:15:16 -0400
commitd707b2a1711a02307a02684904b12b74cfb2ea32 (patch)
tree3dcaee4c2304ab906b498d22bb36aafea6b294ed /src/nvim/testdir/test_expr.vim
parentdafc14b9691dfa9af143c0372f84b9288163c30a (diff)
downloadrneovim-d707b2a1711a02307a02684904b12b74cfb2ea32.tar.gz
rneovim-d707b2a1711a02307a02684904b12b74cfb2ea32.tar.bz2
rneovim-d707b2a1711a02307a02684904b12b74cfb2ea32.zip
vim-patch:8.0.0478
Problem: Tests use assert_true(0) and assert_false(1) to report errors. Solution: Use assert_report(). https://github.com/vim/vim/commit/37175409d766ce67f2548dffa6d73451379b5737
Diffstat (limited to 'src/nvim/testdir/test_expr.vim')
-rw-r--r--src/nvim/testdir/test_expr.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim
index 03a9155512..ce1523324e 100644
--- a/src/nvim/testdir/test_expr.vim
+++ b/src/nvim/testdir/test_expr.vim
@@ -78,7 +78,7 @@ endfunc
func Test_loop_over_null_list()
let null_list = submatch(1, 1)
for i in null_list
- call assert_true(0, 'should not get here')
+ call assert_report('should not get here')
endfor
endfunc