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

Function test_log_run_with_reverse

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

Source from the content-addressed store, hash-verified

802 #[test]
803 #[serial]
804 fn test_log_run_with_reverse() {
805 let _guard = TestGuard::new();
806
807 // Initialize repository
808 let _repo = Repository::init(".").unwrap();
809
810 let log = Log::new().with_reverse(true);
811 let result = log.run();
812
813 // Result could fail due to database issues; just don't panic
814 let _ = result;
815 }
816
817 #[test]
818 #[serial]

Callers

nothing calls this directly

Calls 3

with_reverseMethod · 0.80
unwrapMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected