From 91fefb7b0daefc7555b1472a382c74ad8435d729 Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Mon, 25 Mar 2024 14:16:02 -0400 Subject: [PATCH] Fix test --- test/server_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/server_test.rb b/test/server_test.rb index 252b375e27..3df201bde4 100644 --- a/test/server_test.rb +++ b/test/server_test.rb @@ -333,7 +333,7 @@ def test_handles_invalid_configuration notification = @server.pop_response assert_equal("window/showMessage", notification.method) assert_match( - /Syntax error while loading configuration/, + /Psych::SyntaxError while loading indexing configuration/, T.cast(notification.params, RubyLsp::Interface::ShowMessageParams).message, "Psych::SyntaxError while loading indexing configuration:", )