File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -327,14 +327,22 @@ def test_output_errors_to_junit_xml
327327 <failure type='7003'>
328328 <![CDATA[In file errors/errors.rb:
329329 5 | sig { params(bar: Bar).returns(C) }
330- ^^^^^^]]>
330+ ^^^^^^
331+ Got `T.class_of(Foo)` originating from:
332+ errors/errors.rb:4:
333+ 4 |class Foo
334+ ^]]>
331335 </failure>
332336 </testcase>
333337 <testcase name='Method `sig` does not exist on `T.class_of(Foo)`' file='errors/errors.rb' line='5'>
334338 <failure type='7003'>
335339 <![CDATA[In file errors/errors.rb:
336340 5 | sig { params(bar: Bar).returns(C) }
337341 ^^^
342+ Got `T.class_of(Foo)` originating from:
343+ errors/errors.rb:4:
344+ 4 |class Foo
345+ ^
338346 Autocorrect: Use `-a` to autocorrect
339347 errors/errors.rb:5: Insert `extend T::Sig`
340348 5 | sig { params(bar: Bar).returns(C) }
@@ -359,7 +367,11 @@ def test_output_errors_to_junit_xml
359367 <failure type='7003'>
360368 <![CDATA[In file errors/errors.rb:
361369 11 |b.foo(b, c)
362- ^]]>
370+ ^
371+ Got `T.class_of(<root>)` originating from:
372+ errors/errors.rb:4:
373+ 4 |class Foo
374+ ^]]>
363375 </failure>
364376 </testcase>
365377 <testcase name='Too many arguments provided for method `Foo#foo`. Expected: `1`, got: `2`' file='errors/errors.rb' line='11'>
You can’t perform that action at this time.
0 commit comments