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

Function test_is_recordable_all_variants

atomic-cli/src/commands/status.rs:2085–2095  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2083
2084 #[test]
2085 fn test_is_recordable_all_variants() {
2086 // Test all variants for recordability
2087 assert!(!is_recordable(FileStatus::Clean));
2088 assert!(is_recordable(FileStatus::Modified));
2089 assert!(is_recordable(FileStatus::Deleted));
2090 assert!(!is_recordable(FileStatus::Untracked));
2091 assert!(is_recordable(FileStatus::Added));
2092 assert!(!is_recordable(FileStatus::Conflicted));
2093 assert!(is_recordable(FileStatus::TypeChanged));
2094 assert!(is_recordable(FileStatus::PermissionsChanged));
2095 }
2096
2097 #[test]
2098 fn test_output_config_path_filter_with_string() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected