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

Function test_diff_format_from_str_stat

atomic-cli/src/commands/diff/tests.rs:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35 #[test]
36 fn test_diff_format_from_str_stat() {
37 assert_eq!("stat".parse::<DiffFormat>().unwrap(), DiffFormat::Stat);
38 assert_eq!("s".parse::<DiffFormat>().unwrap(), DiffFormat::Stat);
39 assert_eq!("STAT".parse::<DiffFormat>().unwrap(), DiffFormat::Stat);
40 }
41
42 #[test]
43 fn test_diff_format_from_str_name_only() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected