Add support for showing other metrics in the terminal

This commit is contained in:
David Peter committed 2026-10-06 12:53:42 +02:00
1 parent 7395dde05d
commit 908b33cc1d
31 files changed
+1514 -1898

No files matched your search

+2 -2
View File
@@ -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);
}