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
128
128
# benchmark tests. Reserves +label_width+ leading spaces for
129
129
# labels on each line. Prints +caption+ at the top of the
130
130
# 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
+ #
131
134
# Returns an array of Benchmark::Tms objects.
132
135
#
133
136
# 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
71
71
BENCH
72
72
end
73
73
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
75
75
assert_equal ( BENCHMARK_OUTPUT_WITH_TOTAL_AVG ,
76
76
capture_bench_output ( :benchmark ,
77
77
Benchmark ::CAPTION , 7 ,
You can’t perform that action at this time.
0 commit comments