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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

parseFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected