Skip to content

Commit da67561

Browse files
committed
test: reduce the number of rehearsal executions
It reduces test execution time.
1 parent 2fc3f79 commit da67561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_document.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def test_xml_declaration_standalone
204204

205205
def test_gt_linear_performance_attribute_value
206206
seq = [10000, 50000, 100000, 150000, 200000]
207-
assert_linear_performance(seq) do |n|
207+
assert_linear_performance(seq, rehearsal: 10) do |n|
208208
REXML::Document.new('<test testing="' + ">" * n + '"></test>')
209209
end
210210
end

0 commit comments

Comments
 (0)