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

Function test_diff_format_display

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

Source from the content-addressed store, hash-verified

13
14 #[test]
15 fn test_diff_format_display() {
16 assert_eq!(DiffFormat::Unified.to_string(), "unified");
17 assert_eq!(DiffFormat::Stat.to_string(), "stat");
18 assert_eq!(DiffFormat::NameOnly.to_string(), "name-only");
19 assert_eq!(DiffFormat::NameStatus.to_string(), "name-status");
20 }
21
22 #[test]
23 fn test_diff_format_from_str_unified() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected