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

Function test_file_change_status_char

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

Source from the content-addressed store, hash-verified

516
517 #[test]
518 fn test_file_change_status_char() {
519 assert_eq!(FileChangeStatus::Added.status_char(), 'A');
520 assert_eq!(FileChangeStatus::Deleted.status_char(), 'D');
521 assert_eq!(FileChangeStatus::Modified.status_char(), 'M');
522 assert_eq!(FileChangeStatus::Renamed.status_char(), 'R');
523 assert_eq!(FileChangeStatus::Copied.status_char(), 'C');
524 assert_eq!(FileChangeStatus::TypeChanged.status_char(), 'T');
525 assert_eq!(FileChangeStatus::Untracked.status_char(), 'U');
526 }
527
528 #[test]
529 fn test_file_change_status_description() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected