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

Function test_log_run_empty_repository

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

Source from the content-addressed store, hash-verified

705 #[test]
706 #[serial]
707 fn test_log_run_empty_repository() {
708 let _guard = TestGuard::new();
709
710 // Initialize empty repository
711 let _repo = Repository::init(".").unwrap();
712
713 let log = Log::new();
714 let result = log.run();
715
716 // Should succeed but print empty message
717 // The result could fail due to database initialization issues in tests
718 // Just verify it doesn't panic
719 let _ = result;
720 }
721
722 #[test]
723 #[serial]

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected