diff --git a/test/parse/test_processing_instruction.rb b/test/parse/test_processing_instruction.rb index fba79cea..ba381dc4 100644 --- a/test/parse/test_processing_instruction.rb +++ b/test/parse/test_processing_instruction.rb @@ -116,5 +116,12 @@ def test_linear_performance_gt REXML::Document.new("" * n + " ?>") end end + + def test_linear_performance_tab + seq = [10000, 50000, 100000, 150000, 200000] + assert_linear_performance(seq, rehearsal: 10) do |n| + REXML::Document.new(" ?>") + end + end end end