Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_alignment_no_padding_needed
Function
test_alignment_no_padding_needed
atomic-cli/src/output/table.rs:653–656 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
651
652
#[test]
653
fn test_alignment_no_padding_needed() {
654
let aligned = Alignment::Left.apply(
"test"
, 4);
655
assert_eq!(aligned,
"test"
);
656
}
657
658
#[test]
659
fn test_alignment_text_too_wide() {
Callers
nothing calls this directly
Calls
1
apply
Method · 0.80
Tested by
no test coverage detected