diff options
Diffstat (limited to 'lib/minitest/README.txt')
-rw-r--r-- | lib/minitest/README.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/minitest/README.txt b/lib/minitest/README.txt index f55f7d9710..25c4dae1a9 100644 --- a/lib/minitest/README.txt +++ b/lib/minitest/README.txt @@ -129,9 +129,7 @@ benchmarks won't run. # Override self.bench_range or default range is [1, 10, 100, 1_000, 10_000] def bench_my_algorithm assert_performance_linear 0.9999 do |n| # n is a range value - n.times do - @obj.my_algorithm - end + @obj.my_algorithm(n) end end end |