Mercurial > vim
view src/testdir/test_ex_equal.vim @ 32525:bb5458706799 v9.0.1594
patch 9.0.1594: some internal error messages are translated
Commit: https://github.com/vim/vim/commit/68ebcee0237d927dd5386073499162389d4d708a
Author: RestorerZ <restorer@mail2k.ru>
Date: Wed May 31 17:12:14 2023 +0100
patch 9.0.1594: some internal error messages are translated
Problem: Some internal error messages are translated.
Solution: Consistently do not translate internal error messages.
(closes #12459)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 May 2023 18:15:04 +0200 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Test Ex := command. func Test_ex_equal() new call setline(1, ["foo\tbar", "bar\tfoo"]) let a = execute('=') call assert_equal("\n2", a) let a = execute('=#') call assert_equal("\n2\n 1 foo bar", a) let a = execute('=l') call assert_equal("\n2\nfoo^Ibar$", a) let a = execute('=p') call assert_equal("\n2\nfoo bar", a) let a = execute('=l#') call assert_equal("\n2\n 1 foo^Ibar$", a) let a = execute('=p#') call assert_equal("\n2\n 1 foo bar", a) let a = execute('.=') call assert_equal("\n1", a) call assert_fails('3=', 'E16:') call assert_fails('=x', 'E488:') bwipe! endfunc " vim: shiftwidth=2 sts=2 expandtab