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

Function test_table_set_header

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

Source from the content-addressed store, hash-verified

731
732 #[test]
733 fn test_table_set_header() {
734 let mut table = Table::new();
735 table.set_header(vec!["A", "B", "C"]);
736 assert_eq!(table.column_count(), 3);
737 }
738
739 #[test]
740 fn test_table_add_row() {

Callers

nothing calls this directly

Calls 1

set_headerMethod · 0.80

Tested by

no test coverage detected