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

Function test_format_count_singular

atomic-cli/src/commands/mod.rs:954–957  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

952
953 #[test]
954 fn test_format_count_singular() {
955 assert_eq!(format_count(1, "file", "files"), "1 file");
956 assert_eq!(format_count(1, "change", "changes"), "1 change");
957 }
958
959 #[test]
960 fn test_format_count_plural() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected