File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,9 @@ module Benchmark
128128 # benchmark tests. Reserves +label_width+ leading spaces for
129129 # labels on each line. Prints +caption+ at the top of the
130130 # report, and uses +format+ to format each line.
131+ # (Note: +caption+ must contain a terminating newline character,
132+ # see the default Benchmark::Tms::CAPTION for an example.)
133+ #
131134 # Returns an array of Benchmark::Tms objects.
132135 #
133136 # If the block returns an array of
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def test_benchmark_does_not_print_any_space_if_the_given_caption_is_empty
7171BENCH
7272 end
7373
74- def test_benchmark_makes_extra_calcultations_with_an_Array_at_the_end_of_the_benchmark_and_show_the_result
74+ def test_benchmark_makes_extra_calculations_with_an_Array_at_the_end_of_the_benchmark_and_show_the_result
7575 assert_equal ( BENCHMARK_OUTPUT_WITH_TOTAL_AVG ,
7676 capture_bench_output ( :benchmark ,
7777 Benchmark ::CAPTION , 7 ,
You can’t perform that action at this time.
0 commit comments