]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1632: not checking the context of test_fails() v8.2.1632
authorBram Moolenaar <Bram@vim.org>
Sun, 6 Sep 2020 20:26:57 +0000 (22:26 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 6 Sep 2020 20:26:57 +0000 (22:26 +0200)
commit44d6652d561d628d12e3ff7f6636ea7d1f805ced
treed56a1089639a79cb532db4dac3b0089e3ef27254
parent9bd5d879c2ecfbdbb168b090e12f4b89724a302e
patch 8.2.1632: not checking the context of test_fails()

Problem:    Not checking the context of test_fails().
Solution:   Add the line number and context arguments.  Give error if
            assert_fails() argument types are wrong.
src/errors.h
src/testdir/test_assert.vim
src/testdir/test_vim9_func.vim
src/testdir/test_vim9_script.vim
src/testing.c
src/version.c