Skip to content

Commit

Permalink
Fix result in LSP hover test
Browse files Browse the repository at this point in the history
  • Loading branch information
egiurleo committed Nov 18, 2024
1 parent 39b338f commit 496d066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/spoom/cli/srb/lsp_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 496d066

Please sign in to comment.