From e2e4075fad1326181edc5a131e48c644ef613693 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 4 Sep 2020 21:18:46 +0200 Subject: patch 8.2.1593: tests do not check the error number properly Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes #6869) --- src/testdir/test_clientserver.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/test_clientserver.vim') diff --git a/src/testdir/test_clientserver.vim b/src/testdir/test_clientserver.vim index ab80bd2d56..7a750556ab 100644 --- a/src/testdir/test_clientserver.vim +++ b/src/testdir/test_clientserver.vim @@ -70,7 +70,7 @@ func Test_client_server() call WaitForAssert({-> assert_equal('maybe', remote_expr(name, "testvar", "", 2))}) endif - call assert_fails('call remote_send("XXX", ":let testvar = ''yes''\")', 'E241') + call assert_fails('call remote_send("XXX", ":let testvar = ''yes''\")', 'E241:') " Expression evaluated locally. if v:servername == '' -- cgit v1.2.3