Mercurial > vim
comparison src/testdir/test_tcl.vim @ 24641:000568dd900a v8.2.2859
patch 8.2.2859: Tcl test fails because of changed error message
Commit: https://github.com/vim/vim/commit/dcfc311198b174468c007ec4b5b22b33c2c11c92
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 16 20:06:59 2021 +0200
patch 8.2.2859: Tcl test fails because of changed error message
Problem: Tcl test fails because of changed error message.
Solution: Adjust the expected error message.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 May 2021 20:15:02 +0200 |
parents | 0a8322506058 |
children | c428a4e53b9c |
comparison
equal
deleted
inserted
replaced
24640:2a685774ad69 | 24641:000568dd900a |
---|---|
143 call assert_equal(string(char2nr('X')), | 143 call assert_equal(string(char2nr('X')), |
144 \ TclEval('::vim::expr char2nr("X")')) | 144 \ TclEval('::vim::expr char2nr("X")')) |
145 | 145 |
146 call assert_fails('tcl ::vim::expr x y', | 146 call assert_fails('tcl ::vim::expr x y', |
147 \ 'wrong # args: should be "::vim::expr vimExpr"') | 147 \ 'wrong # args: should be "::vim::expr vimExpr"') |
148 call assert_fails('tcl ::vim::expr 1-', 'E15: Invalid expression: 1-') | 148 call assert_fails('tcl ::vim::expr 1-', 'E15: Invalid expression: "1-"') |
149 endfunc | 149 endfunc |
150 | 150 |
151 " Test ::vim::command | 151 " Test ::vim::command |
152 func Test_vim_command() | 152 func Test_vim_command() |
153 call assert_equal('hello world', | 153 call assert_equal('hello world', |