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

Function test_log_run_outside_repository

atomic-cli/src/commands/log/tests.rs:690–703  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

688 #[test]
689 #[serial]
690 fn test_log_run_outside_repository() {
691 let _guard = TestGuard::new();
692
693 let log = Log::new();
694 let result = log.run();
695
696 assert!(result.is_err());
697 // Could be RepositoryNotFound or Internal depending on error mapping
698 match result {
699 Err(CliError::RepositoryNotFound { .. }) => {}
700 Err(CliError::Internal(_)) => {}
701 _ => panic!("Expected RepositoryNotFound or Internal error"),
702 }
703 }
704
705 #[test]
706 #[serial]

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected