Skip to content

Commit 25ed097

Browse files
st0012claude
andcommitted
Update test expectations for Prism 1.8.0 and Sorbet 0.6.12883
Prism 1.8.0 reports unterminated construct errors at the opening token instead of end-of-line (ruby/prism#3848). Sorbet 0.6.12883 reports block parameters as T.noreturn instead of T.untyped in LSP signature help responses. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0dfd5bc commit 25ed097

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/spoom/cli/srb/lsp_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def bar(a)
214214
result = @project.spoom("srb lsp --no-color sigs lib/sigs.rb 12 4")
215215
assert_equal(<<~MSG, result.out)
216216
Signature for `lib/sigs.rb:12:4`:
217-
* SigsTest#bar(a: Integer, <blk>: T.untyped)
217+
* SigsTest#bar(a: Integer, <blk>: T.noreturn)
218218
MSG
219219
end
220220

test/spoom/deadcode/index_definitions_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def foo(
2222
Error while parsing foo.rb:
2323
- unexpected end-of-input; expected a `)` to close the parameters (at 1:8)
2424
- unexpected end-of-input, assuming it is closing the parent top level context (at 1:8)
25-
- expected an `end` to close the `def` statement (at 1:8)
25+
- expected an `end` to close the `def` statement (at 1:0)
2626
ERRORS
2727
end
2828

0 commit comments

Comments
 (0)