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

Source from the content-addressed store, hash-verified

740 #[test]
741 #[file_serial]
742 fn test_log_run_json_empty() {
743 let _guard = TestGuard::new();
744
745 // Initialize repository
746 drop(Repository::init(".").unwrap());
747
748 let log = Log::new().with_format(LogFormat::Json);
749 let result = log.run();
750
751 assert!(result.is_ok(), "{result:?}");
752 }
753
754 #[test]
755 #[file_serial]

Callers

nothing calls this directly

Calls 4

initFunction · 0.50
unwrapMethod · 0.45
with_formatMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected