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

Source from the content-addressed store, hash-verified

796 #[test]
797 #[serial]
798 fn test_log_run_with_reverse() {
799 let _guard = TestGuard::new();
800
801 // Initialize repository
802 drop(Repository::init(".").unwrap());
803
804 let log = Log::new().with_reverse(true);
805 let result = log.run();
806
807 assert!(result.is_ok(), "{result:?}");
808 }
809
810 #[test]
811 #[serial]

Callers

nothing calls this directly

Calls 3

with_reverseMethod · 0.80
unwrapMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected