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:784–794  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

782 #[test]
783 #[file_serial]
784 fn test_log_run_with_count() {
785 let _guard = TestGuard::new();
786
787 // Initialize repository
788 drop(Repository::init(".").unwrap());
789
790 let log = Log::new().with_count(5);
791 let result = log.run();
792
793 assert!(result.is_ok(), "{result:?}");
794 }
795
796 #[test]
797 #[file_serial]

Callers

nothing calls this directly

Calls 4

with_countMethod · 0.80
initFunction · 0.50
unwrapMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected