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

Function test_column_new

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

Source from the content-addressed store, hash-verified

667
668 #[test]
669 fn test_column_new() {
670 let col = Column::new("Name");
671 assert_eq!(col.header, "Name");
672 assert_eq!(col.alignment, Alignment::Left);
673 assert_eq!(col.min_width, 0);
674 assert_eq!(col.max_width, 0);
675 }
676
677 #[test]
678 fn test_column_builder() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected