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

Function test_json_change_debug

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

Source from the content-addressed store, hash-verified

722
723 #[test]
724 fn test_json_change_debug() {
725 let change = create_test_change();
726 let hash = Hash::of(b"test");
727 let json_change = JsonChange::from_change(&change, &hash, None);
728 let debug_str = format!("{:?}", json_change);
729 assert!(debug_str.contains("JsonChange"));
730 }
731
732 #[test]
733 fn test_json_author_clone() {

Callers

nothing calls this directly

Calls 1

create_test_changeFunction · 0.70

Tested by

no test coverage detected