()
| 593 | |
| 594 | #[test] |
| 595 | fn task_satisfies_single_criterion() { |
| 596 | let body = ":::task{#WORD-5-1 status=done satisfies=WORD-5-ac-1}\nDo the thing.\n:::"; |
| 597 | let node = lift_intent(&fm(), body).unwrap(); |
| 598 | assert_eq!(node.has_task.len(), 1); |
| 599 | assert_eq!( |
| 600 | node.has_task[0].satisfies.as_slice(), |
| 601 | vec!["urn:atomic:ac:WORD-5-ac-1".to_string()] |
| 602 | ); |
| 603 | } |
| 604 | |
| 605 | #[test] |
| 606 | fn task_satisfies_multiple_criteria_via_criteria_alias() { |
nothing calls this directly
no test coverage detected