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

Function test_change_ref_parse_hash

atomic-cli/src/commands/revise.rs:727–732  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

725
726 #[test]
727 fn test_change_ref_parse_hash() {
728 assert_eq!(
729 ChangeRef::parse("ABC123"),
730 ChangeRef::Hash("ABC123".to_string())
731 );
732 }
733
734 #[test]
735 fn test_change_ref_parse_invalid_relative() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected