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

Function test_identifier_parse_empty

atomic-cli/src/commands/change/tests.rs:101–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99
100 #[test]
101 fn test_identifier_parse_empty() {
102 let id = ChangeIdentifier::parse(Some("")).unwrap();
103 assert_eq!(id, ChangeIdentifier::Latest);
104 }
105
106 #[test]
107 fn test_identifier_parse_sequence_with_hash() {

Callers

nothing calls this directly

Calls 2

parseFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected