Mercurial > vim
comparison src/testdir/test_listdict.vim @ 32212:75c420223d7f v9.0.1437
patch 9.0.1437: test fails with different error number
Commit: https://github.com/vim/vim/commit/3cdd799951b4d08f987a8346a8de544e41fab3d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 1 22:24:18 2023 +0100
patch 9.0.1437: test fails with different error number
Problem: Test fails with different error number.
Solution: Adjust the expected error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Apr 2023 23:30:03 +0200 |
parents | 24c51ccb40c0 |
children | d5e673b941cd |
comparison
equal
deleted
inserted
replaced
32211:b2939dee3630 | 32212:75c420223d7f |
---|---|
1382 | 1382 |
1383 call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[i] = 3'], ['E121:', 'E1001:', 'E121:']) | 1383 call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[i] = 3'], ['E121:', 'E1001:', 'E121:']) |
1384 call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[1.1] = 4'], ['E805:', 'E1012:', 'E805:']) | 1384 call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[1.1] = 4'], ['E805:', 'E1012:', 'E805:']) |
1385 call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[: i] = [4, 5]'], ['E121:', 'E1001:', 'E121:']) | 1385 call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[: i] = [4, 5]'], ['E121:', 'E1001:', 'E121:']) |
1386 call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[: 3.2] = [4, 5]'], ['E805:', 'E1012:', 'E805:']) | 1386 call v9.CheckLegacyAndVim9Failure(['VAR l = [1, 2, 3]', 'LET l[: 3.2] = [4, 5]'], ['E805:', 'E1012:', 'E805:']) |
1387 call v9.CheckLegacyAndVim9Failure(['VAR t = test_unknown()', 'echo t[0]'], 'E685:') | 1387 call v9.CheckLegacyAndVim9Failure(['VAR t = test_unknown()', 'echo t[0]'], ['E685:', 'E909:', 'E685:']) |
1388 endfunc | 1388 endfunc |
1389 | 1389 |
1390 " Test for a null list | 1390 " Test for a null list |
1391 func Test_null_list() | 1391 func Test_null_list() |
1392 let lines =<< trim END | 1392 let lines =<< trim END |