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:102–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100
101 #[test]
102 fn test_identifier_parse_empty() {
103 let id = ChangeIdentifier::parse(Some("")).unwrap();
104 assert_eq!(id, ChangeIdentifier::Latest);
105 }
106
107 #[test]
108 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