mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 09:01:25 +00:00
Add support for showing other metrics in the terminal
This commit is contained in:
1 parent
7395dde05d
commit
908b33cc1d
31 files changed
+1514
-1898
No files matched your search
@@ -24,7 +24,7 @@ impl MarkupExporter for AsciidocExporter {
|
||||
}
|
||||
|
||||
fn table_row(&self, cells: &[&str]) -> String {
|
||||
format!("\n| {} \n", cells.join(" \n| "))
|
||||
format!("\n| {}\n", cells.join("\n| "))
|
||||
}
|
||||
|
||||
fn table_divider(&self, _cell_aligmnents: &[Alignment]) -> String {
|
||||
@@ -43,7 +43,7 @@ fn test_asciidoc_exporter_table_data() {
|
||||
let data = vec!["a", "b", "c"];
|
||||
|
||||
let actual = exporter.table_row(&data);
|
||||
let expect = "\n| a \n| b \n| c \n";
|
||||
let expect = "\n| a\n| b\n| c\n";
|
||||
|
||||
assert_eq!(expect, actual);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user