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

Function test_serde_lenient

atomic-core/src/crdt/apply/options.rs:848–853  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

846
847 #[test]
848 fn test_serde_lenient() {
849 let options = ApplyOptions::lenient();
850 let json = serde_json::to_string(&options).unwrap();
851 let restored: ApplyOptions = serde_json::from_str(&json).unwrap();
852 assert_eq!(options, restored);
853 }
854
855 // Clone and Debug Tests
856

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected