()
| 509 | |
| 510 | #[test] |
| 511 | fn never_grades_prose() { |
| 512 | // A memory whose body legitimately contains ':::why' text or a Rust |
| 513 | // turbofish '::<T>' still lists cleanly because lift_memory does the |
| 514 | // lenient scan (no closed-vocab grading of prose). |
| 515 | let (repo, _dir) = repo(); |
| 516 | let body = ":::memory\nUse ::<T> and note the :::why here is prose.\n:::"; |
| 517 | store_memory(&repo, "m5", "preference", &[], body); |
| 518 | |
| 519 | let row = row_for(&repo, "m5", Some(&KeyPair::generate())); |
| 520 | assert_eq!(row.kind, "preference"); |
| 521 | assert_eq!(row.status, "active"); |
| 522 | assert_eq!(row.about, 0); |
| 523 | assert_eq!(row.attested, Attested::None); |
| 524 | } |
| 525 | |
| 526 | #[test] |
| 527 | fn default_memory_index_scaffold_is_excluded() { |
nothing calls this directly
no test coverage detected