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

Function test_repository_status_with_state

atomic-cli/src/commands/status.rs:1665–1670  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1663
1664 #[test]
1665 fn test_repository_status_with_state() {
1666 let state = Merkle::initial();
1667 let status = RepositoryStatus::new("main".to_string(), Some(state));
1668 assert_eq!(status.view(), "main");
1669 assert!(status.state().is_some());
1670 }
1671
1672 #[test]
1673 fn test_repository_status_with_entries() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected