()
| 499 | |
| 500 | #[test] |
| 501 | fn text_replacement_falls_back_to_modified() { |
| 502 | let old = json!({"content": "Hello World"}); |
| 503 | let new = json!({"content": "Hello Earth"}); |
| 504 | let diffs = compute_field_diffs(&old, &new); |
| 505 | assert_eq!(diffs.len(), 1); |
| 506 | assert_eq!(diffs[0].op, DiffOp::Modified); |
| 507 | } |
| 508 | |
| 509 | #[test] |
| 510 | fn text_insert_at_beginning() { |
nothing calls this directly
no test coverage detected