()
| 720 | |
| 721 | #[test] |
| 722 | fn never_grades_prose() { |
| 723 | // A memory whose body legitimately contains ':::why' text or a Rust |
| 724 | // turbofish '::<T>' still lists cleanly because lift_memory does the |
| 725 | // lenient scan (no closed-vocab grading of prose). |
| 726 | let (repo, _dir) = repo(); |
| 727 | let body = ":::memory\nUse ::<T> and note the :::why here is prose.\n:::"; |
| 728 | store_memory(&repo, "m5", "preference", &[], body); |
| 729 | |
| 730 | let row = row_for(&repo, "m5", Some(&KeyPair::generate())); |
| 731 | assert_eq!(row.kind, "preference"); |
| 732 | assert_eq!(row.status, "active"); |
| 733 | assert_eq!(row.about, 0); |
| 734 | assert_eq!(row.attested, Attested::None); |
| 735 | } |
| 736 | |
| 737 | #[test] |
| 738 | fn default_memory_index_scaffold_is_excluded() { |
nothing calls this directly
no test coverage detected