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

Function test_json_hunk_summary_debug

atomic-cli/src/commands/change/tests.rs:745–752  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

743
744 #[test]
745 fn test_json_hunk_summary_debug() {
746 let summary = JsonHunkSummary {
747 hunk_type: "FileAdd".to_string(),
748 path: Some("test.rs".to_string()),
749 };
750 let debug_str = format!("{:?}", summary);
751 assert!(debug_str.contains("JsonHunkSummary"));
752 }
753
754 #[test]
755 fn test_json_change_debug() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected