File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,17 +216,15 @@ class InlineComponentDerivedFromComponentSupportingVariants < Level2Component
216216 skip unless Rails ::VERSION ::MAJOR >= 8 && Rails ::VERSION ::MINOR > 0
217217
218218 without_template_annotations do
219- with_new_cache do
220- with_coverage_running do
221- # Force recompilation with coverage "enabled" but annotations disabled
222- ViewComponent ::CompileCache . cache . delete ( ErbComponent )
219+ with_coverage_running do
220+ # Force recompilation with coverage "enabled" but annotations disabled
221+ ViewComponent ::CompileCache . cache . delete ( ErbComponent )
223222
224- # This would segfault in v4.3.0 because it only avoided -1 lineno
225- # when annotations were enabled
226- render_inline ( ErbComponent . new ( message : "Foo bar" ) )
223+ # This would segfault in v4.3.0 because it only avoided -1 lineno
224+ # when annotations were enabled
225+ render_inline ( ErbComponent . new ( message : "Foo bar" ) )
227226
228- assert_selector ( "div" , text : "Foo bar" )
229- end
227+ assert_selector ( "div" , text : "Foo bar" )
230228 end
231229 end
232230 end
You can’t perform that action at this time.
0 commit comments