Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_format_count_plural
Function
test_format_count_plural
atomic-cli/src/commands/add.rs:879–881 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
877
878
#[test]
879
fn test_format_count_plural() {
880
assert_eq!(format_count(5,
"file"
,
"files"
),
"5 files"
);
881
}
882
883
#[test]
884
fn test_format_count_zero() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected