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

Function test_json_log_entry_debug

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

Source from the content-addressed store, hash-verified

1037
1038 #[test]
1039 fn test_json_log_entry_debug() {
1040 let entry = JsonLogEntry {
1041 sequence: 1,
1042 hash: "abc".to_string(),
1043 state: "xyz".to_string(),
1044 message: None,
1045 description: None,
1046 authors: vec![],
1047 timestamp: None,
1048 is_tagged: false,
1049 };
1050 let debug_str = format!("{:?}", entry);
1051 assert!(debug_str.contains("JsonLogEntry"));
1052 }
1053
1054 #[test]
1055 fn test_log_clone() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected