Mercurial > vim
comparison src/testdir/test_expr.vim @ 32489:d6055989fa27 v9.0.1576
patch 9.0.1576: users may not know what to do with an internal error
Commit: https://github.com/vim/vim/commit/097c5370ea8abab17ceb0f3bcd74f57b1655c7f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 24 21:02:24 2023 +0100
patch 9.0.1576: users may not know what to do with an internal error
Problem: Users may not know what to do with an internal error.
Solution: Add a translated message with instructions.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 May 2023 22:15:06 +0200 |
parents | 49a13ac4a1b1 |
children | 448aef880252 |
comparison
equal
deleted
inserted
replaced
32488:dab4184aaff9 | 32489:d6055989fa27 |
---|---|
23 call assert_false([base.method] == [instance.other]) | 23 call assert_false([base.method] == [instance.other]) |
24 | 24 |
25 call assert_fails('echo base.method > instance.method') | 25 call assert_fails('echo base.method > instance.method') |
26 call assert_equal(0, test_null_function() == function('min')) | 26 call assert_equal(0, test_null_function() == function('min')) |
27 call assert_equal(1, test_null_function() == test_null_function()) | 27 call assert_equal(1, test_null_function() == test_null_function()) |
28 call assert_fails('eval 10 == test_unknown()', 'E685:') | 28 call assert_fails('eval 10 == test_unknown()', ['E340:', 'E685:']) |
29 endfunc | 29 endfunc |
30 | 30 |
31 func Test_version() | 31 func Test_version() |
32 call assert_true(has('patch-7.4.001')) | 32 call assert_true(has('patch-7.4.001')) |
33 call assert_true(has('patch-7.4.01')) | 33 call assert_true(has('patch-7.4.01')) |