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