diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-03-29 09:52:33 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-03-29 09:52:33 +0900 |
| commit | f241a8de56e5c5829dc9fd9cc290c58a93a7441a (patch) | |
| tree | 7c2445ad92d098b1e66aa75b62206a61f632bd09 | |
| parent | 39a34694a0e33e18b4ac6e43cb8042e2d818ecd4 (diff) | |
[ruby/uri] Increase rehearsals
| -rw-r--r-- | test/uri/test_common.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/uri/test_common.rb b/test/uri/test_common.rb index 245b3d8cc3..77bdab65df 100644 --- a/test/uri/test_common.rb +++ b/test/uri/test_common.rb @@ -116,7 +116,7 @@ class TestCommon < Test::Unit::TestCase pre = ->(n) { 'https://example.com/dir/' + 'a' * (n * 100) + '/##.jpg' } - assert_linear_performance((1..10).map {|i| i * 100}, pre: pre) do |uri| + assert_linear_performance((1..10).map {|i| i * 100}, rehearsal: 1000, pre: pre) do |uri| assert_raise(URI::InvalidURIError) do URI.parse(uri) end |
