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

Function test_alignment_center

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

Source from the content-addressed store, hash-verified

639
640 #[test]
641 fn test_alignment_center() {
642 let aligned = Alignment::Center.apply("test", 10);
643 assert_eq!(aligned, " test ");
644 }
645
646 #[test]
647 fn test_alignment_center_odd() {

Callers

nothing calls this directly

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected