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

Function test_repository_status_empty

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

Source from the content-addressed store, hash-verified

1655
1656 #[test]
1657 fn test_repository_status_empty() {
1658 let status = RepositoryStatus::new("dev".to_string(), None);
1659 assert_eq!(status.view(), "dev");
1660 assert!(status.state().is_none());
1661 assert!(status.is_clean());
1662 }
1663
1664 #[test]
1665 fn test_repository_status_with_state() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected