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

Function test_log_run_json_empty

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

Source from the content-addressed store, hash-verified

742 #[test]
743 #[serial]
744 fn test_log_run_json_empty() {
745 let _guard = TestGuard::new();
746
747 // Initialize repository
748 let _repo = Repository::init(".").unwrap();
749
750 let log = Log::new().with_format(LogFormat::Json);
751 let result = log.run();
752
753 // Result could fail due to database issues; just don't panic
754 let _ = result;
755 }
756
757 #[test]
758 #[serial]

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.45
with_formatMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected