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

Function test_log_run_combined_options

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

Source from the content-addressed store, hash-verified

864 #[test]
865 #[serial]
866 fn test_log_run_combined_options() {
867 let _guard = TestGuard::new();
868
869 // Initialize repository
870 let _repo = Repository::init(".").unwrap();
871
872 let log = Log::new()
873 .with_count(10)
874 .with_format(LogFormat::Short)
875 .with_reverse(true)
876 .with_full_hash(true);
877
878 let result = log.run();
879 // Result could fail due to database issues; just don't panic
880 let _ = result;
881 }
882
883 #[test]
884 #[serial]

Callers

nothing calls this directly

Calls 6

with_reverseMethod · 0.80
with_countMethod · 0.80
unwrapMethod · 0.45
with_full_hashMethod · 0.45
with_formatMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected