comparison src/testdir/test_vim9_expr.vim @ 19521:860b39ed0e0b v8.2.0318

patch 8.2.0318: Vim9: types not sufficiently tested Commit: https://github.com/vim/vim/commit/0c2ca58ef06ac49d40330bbe1ee70c3d8af7a648 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 25 22:58:29 2020 +0100 patch 8.2.0318: Vim9: types not sufficiently tested Problem: Vim9: types not sufficiently tested. Solution: Add tests with more types.
author Bram Moolenaar <Bram@vim.org>
date Tue, 25 Feb 2020 23:00:04 +0100
parents a09636ecee3c
children 8eeec8886c02
comparison
equal deleted inserted replaced
19520:fdd51c96d533 19521:860b39ed0e0b
859 call CheckDefFailure("let x = '1'isnot2", 'E488:') 859 call CheckDefFailure("let x = '1'isnot2", 'E488:')
860 860
861 call CheckDefExecFailure("CallMe ('yes')", 'E492:') 861 call CheckDefExecFailure("CallMe ('yes')", 'E492:')
862 call CheckDefFailure("CallMe2('yes','no')", 'E1069:') 862 call CheckDefFailure("CallMe2('yes','no')", 'E1069:')
863 call CheckDefFailure("CallMe2('yes' , 'no')", 'E1068:') 863 call CheckDefFailure("CallMe2('yes' , 'no')", 'E1068:')
864 endfunc 864
865 call CheckDefFailure("v:nosuch += 3", 'E1001:')
866 call CheckDefFailure("let v:version = 3", 'E1064:')
867 call CheckDefFailure("let asdf = v:nosuch", 'E1001:')
868 endfunc