MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_table_missing_cells

Function test_table_missing_cells

atomic-cli/src/output/table.rs:886–893  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

884
885 #[test]
886 fn test_table_missing_cells() {
887 let mut table = Table::new();
888 table.set_header(vec!["A", "B", "C"]);
889 table.add_row(vec!["1"]); // Only one cell for three columns
890
891 // Should not panic
892 let _ = table.to_string();
893 }
894
895 #[test]
896 fn test_table_unicode() {

Callers

nothing calls this directly

Calls 2

set_headerMethod · 0.80
add_rowMethod · 0.80

Tested by

no test coverage detected