# HG changeset patch # User Bram Moolenaar # Date 1670017504 -3600 # Node ID b0865d5f8109cc2f579e6c846a63cdf5ec4da781 # Parent 6bba507a9edb896a5f2abf001e8329ce48d0b4f7 patch 9.0.0994: tests for empty prop type name fail Commit: https://github.com/vim/vim/commit/267db7c3e32e1b55726e72966c75e8549621f9d6 Author: Bram Moolenaar Date: Fri Dec 2 21:37:45 2022 +0000 patch 9.0.0994: tests for empty prop type name fail Problem: Tests for empty prop type name fail. Solution: Correct the error number. diff --git a/src/testdir/test_vim9_builtin.vim b/src/testdir/test_vim9_builtin.vim --- a/src/testdir/test_vim9_builtin.vim +++ b/src/testdir/test_vim9_builtin.vim @@ -3171,14 +3171,14 @@ def Test_prop_type_delete() v9.CheckDefAndScriptFailure(['prop_type_delete({"a": 10})'], ['E1013: Argument 1: type mismatch, expected string but got dict', 'E1174: String required for argument 1']) v9.CheckDefAndScriptFailure(['prop_type_delete({"a": 10}, "b")'], ['E1013: Argument 1: type mismatch, expected string but got dict', 'E1174: String required for argument 1']) v9.CheckDefAndScriptFailure(['prop_type_delete("a", "b")'], ['E1013: Argument 2: type mismatch, expected dict but got string', 'E1206: Dictionary required for argument 2']) - assert_fails("prop_type_delete('')", 'E474:') + assert_fails("prop_type_delete('')", 'E475:') enddef def Test_prop_type_get() v9.CheckDefAndScriptFailure(['prop_type_get({"a": 10})'], ['E1013: Argument 1: type mismatch, expected string but got dict', 'E1174: String required for argument 1']) v9.CheckDefAndScriptFailure(['prop_type_get({"a": 10}, "b")'], ['E1013: Argument 1: type mismatch, expected string but got dict', 'E1174: String required for argument 1']) v9.CheckDefAndScriptFailure(['prop_type_get("a", "b")'], ['E1013: Argument 2: type mismatch, expected dict but got string', 'E1206: Dictionary required for argument 2']) - assert_fails("prop_type_get('')", 'E474:') + assert_fails("prop_type_get('')", 'E475:') enddef def Test_prop_type_list() diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 994, +/**/ 993, /**/ 992,