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

Function test_identifier_parse_none

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

Source from the content-addressed store, hash-verified

94
95 #[test]
96 fn test_identifier_parse_none() {
97 let id = ChangeIdentifier::parse(None).unwrap();
98 assert_eq!(id, ChangeIdentifier::Latest);
99 }
100
101 #[test]
102 fn test_identifier_parse_empty() {

Callers

nothing calls this directly

Calls 2

parseFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected