From 371951d0c34d4f44b50ad8bc8d30a4ef7effade6 Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Wed, 28 Sep 2022 14:08:23 +0100
Subject: [PATCH] patch 9.0.0616: spell test fails because error message
 changed

Problem:    Spell test fails because error message changed.
Solution:   Adjust expected error message.
---
 src/testdir/test_spell.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testdir/test_spell.vim b/src/testdir/test_spell.vim
index 9cc7d68..bc948b0 100644
--- a/src/testdir/test_spell.vim
+++ b/src/testdir/test_spell.vim
@@ -145,7 +145,7 @@ func Test_spell_file_missing()
   augroup TestSpellFileMissing
     autocmd! SpellFileMissing * bwipe
   augroup END
-  call assert_fails('set spell spelllang=ab_cd', 'E797:')
+  call assert_fails('set spell spelllang=ab_cd', 'E937:')
 
   " clean up
   augroup TestSpellFileMissing
-- 
2.27.0

