diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-05-04 22:46:20 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-05-05 00:46:10 +0000 |
commit | c598bc4603ad0cf1c788bf21aea2c1bd3a29f226 (patch) | |
tree | facd68e85af8696c77d199f974c6cc763e80c010 /test | |
parent | b4e4ad9545a3e6e7ba2aed18a7ef9592ece65c3f (diff) |
[ruby/uri] Increase repeat orders of magnitude
https://github.com/ruby/uri/commit/cfbeade935
Diffstat (limited to 'test')
-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 77bdab65df..132770495b 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}, rehearsal: 1000, pre: pre) do |uri| + assert_linear_performance((1..3).map {|i| 10**i}, rehearsal: 1000, pre: pre) do |uri| assert_raise(URI::InvalidURIError) do URI.parse(uri) end |