()
| 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 |