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

Function test_file_status_short_code

atomic-repository/src/status.rs:1180–1189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1178
1179 #[test]
1180 fn test_file_status_short_code() {
1181 assert_eq!(FileStatus::Clean.short_code(), ' ');
1182 assert_eq!(FileStatus::Modified.short_code(), 'M');
1183 assert_eq!(FileStatus::Deleted.short_code(), 'D');
1184 assert_eq!(FileStatus::Untracked.short_code(), '?');
1185 assert_eq!(FileStatus::Added.short_code(), 'A');
1186 assert_eq!(FileStatus::Conflicted.short_code(), 'C');
1187 assert_eq!(FileStatus::TypeChanged.short_code(), 'T');
1188 assert_eq!(FileStatus::PermissionsChanged.short_code(), 'P');
1189 }
1190
1191 #[test]
1192 fn test_file_status_description() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected