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

Source from the content-addressed store, hash-verified

753
754 #[test]
755 fn test_json_change_debug() {
756 let change = create_test_change();
757 let hash = Hash::of(b"test");
758 let json_change = JsonChange::from_change(&change, &hash, None);
759 let debug_str = format!("{:?}", json_change);
760 assert!(debug_str.contains("JsonChange"));
761 }
762
763 #[test]
764 fn test_json_author_clone() {

Callers

nothing calls this directly

Calls 1

create_test_changeFunction · 0.70

Tested by

no test coverage detected