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

Source from the content-addressed store, hash-verified

854 #[test]
855 #[file_serial]
856 fn test_log_run_combined_options() {
857 let _guard = TestGuard::new();
858
859 // Initialize repository
860 drop(Repository::init(".").unwrap());
861
862 let log = Log::new()
863 .with_count(10)
864 .with_format(LogFormat::Short)
865 .with_reverse(true)
866 .with_full_hash(true);
867
868 let result = log.run();
869 assert!(result.is_ok(), "{result:?}");
870 }
871
872 #[test]
873 #[file_serial]

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected