mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
benchmark.rs: Don't use # in benchmark name
Using `Benchmark #1` causes github and gitlab to interrupt hyperfine results as link to issue #1. Remove the # from the benchmark number to play better with these systems. Fixes #381.
This commit is contained in:
1 parent
63c8dd15e1
commit
5348ab9ba3
1 file changed
+1
-1
@@ -219,7 +219,7 @@ pub fn run_benchmark(
|
||||
if options.output_style != OutputStyleOption::Disabled {
|
||||
println!(
|
||||
"{}{}: {}",
|
||||
"Benchmark #".bold(),
|
||||
"Benchmark ".bold(),
|
||||
(num + 1).to_string().bold(),
|
||||
&command_name
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user