summaryrefslogtreecommitdiff
path: root/src/testdir/test_const.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_const.vim')
-rw-r--r--src/testdir/test_const.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_const.vim b/src/testdir/test_const.vim
index 107e2503e..5eb2f6994 100644
--- a/src/testdir/test_const.vim
+++ b/src/testdir/test_const.vim
@@ -207,9 +207,9 @@ endfunc
func Test_lockvar()
let x = 'hello'
lockvar x
- call assert_fails('let x = "there"', 'E741')
+ call assert_fails('let x = "there"', 'E741:')
if 0 | unlockvar x | endif
- call assert_fails('let x = "there"', 'E741')
+ call assert_fails('let x = "there"', 'E741:')
unlockvar x
let x = 'there'