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

Function test_log_run_with_count

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

Source from the content-addressed store, hash-verified

787 #[test]
788 #[serial]
789 fn test_log_run_with_count() {
790 let _guard = TestGuard::new();
791
792 // Initialize repository
793 let _repo = Repository::init(".").unwrap();
794
795 let log = Log::new().with_count(5);
796 let result = log.run();
797
798 // Result could fail due to database issues; just don't panic
799 let _ = result;
800 }
801
802 #[test]
803 #[serial]

Callers

nothing calls this directly

Calls 3

with_countMethod · 0.80
unwrapMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected