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

Function test_format_count_many

atomic-cli/src/commands/clone/helpers.rs:1038–1041  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1036 /// Test format_count with many (plural).
1037 #[test]
1038 fn test_format_count_many() {
1039 assert_eq!(format_count(5, "change"), "5 changes");
1040 assert_eq!(format_count(100, "file"), "100 files");
1041 }
1042
1043 /// Test format_count with different words.
1044 #[test]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected