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