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

Function test_log_run_with_from_sequence

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

Source from the content-addressed store, hash-verified

810 #[test]
811 #[file_serial]
812 fn test_log_run_with_from_sequence() {
813 let _guard = TestGuard::new();
814
815 // Initialize repository and drop to release db lock
816 {
817 drop(Repository::init(".").unwrap());
818 }
819
820 let log = Log::new().with_from(0);
821 let result = log.run();
822
823 assert!(result.is_ok(), "{result:?}");
824 }
825
826 #[test]
827 #[file_serial]

Callers

nothing calls this directly

Calls 4

initFunction · 0.50
unwrapMethod · 0.45
with_fromMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected