()
| 184 | |
| 185 | #[test] |
| 186 | fn test_identifier_is_hash() { |
| 187 | assert!(ChangeIdentifier::HashPrefix("ABC".to_string()).is_hash()); |
| 188 | let hash = Hash::of(b"test"); |
| 189 | assert!(ChangeIdentifier::FullHash(hash).is_hash()); |
| 190 | assert!(!ChangeIdentifier::Latest.is_hash()); |
| 191 | assert!(!ChangeIdentifier::Sequence(42).is_hash()); |
| 192 | } |
| 193 | |
| 194 | // ChangeCmd Builder Tests |
| 195 |
nothing calls this directly
no outgoing calls
no test coverage detected