Skip to content

Commit d0c06bb

Browse files
hsbtclaude
andcommitted
Update test_box assertion for autoloaded error_highlight
error_highlight is no longer in $LOADED_FEATURES at boot time since it is now set up via autoload instead of eager require. [Feature #21951] Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dd69284 commit d0c06bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/ruby/test_box.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def test_prelude_gems_and_loaded_features
656656
assert_match EXPERIMENTAL_WARNING_LINE_PATTERNS[1], error[1]
657657

658658
assert_includes output.grep(/^before:/).join("\n"), '/bundled_gems.rb'
659-
assert_includes output.grep(/^before:/).join("\n"), '/error_highlight.rb'
659+
refute_includes output.grep(/^before:/).join("\n"), '/error_highlight.rb'
660660
assert_includes output.grep(/^after:/).join("\n"), '/bundled_gems.rb'
661661
assert_includes output.grep(/^after:/).join("\n"), '/error_highlight.rb'
662662
end

0 commit comments

Comments
 (0)