From 496d06616c093552d35c657211e11383f4954b7c Mon Sep 17 00:00:00 2001 From: Emily Samp Date: Mon, 18 Nov 2024 09:50:19 -0600 Subject: [PATCH] Fix result in LSP hover test --- test/spoom/cli/srb/lsp_test.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/spoom/cli/srb/lsp_test.rb b/test/spoom/cli/srb/lsp_test.rb index 757984ac..0e9d531a 100644 --- a/test/spoom/cli/srb/lsp_test.rb +++ b/test/spoom/cli/srb/lsp_test.rb @@ -147,8 +147,12 @@ def foo(a) result = @project.spoom("srb lsp --no-color hover lib/hover.rb 12 4") assert_equal(<<~MSG, result.out) Hovering `lib/hover.rb:12:4`: + # HoverTest#foo: sig { params(a: Integer).returns(String) } def foo(a); end + + # result type: + String MSG end