A `done` task satisfying the given criteria.
(id: &str, satisfies: &[&str])
| 763 | |
| 764 | /// A `done` task satisfying the given criteria. |
| 765 | fn done_task(id: &str, satisfies: &[&str]) -> Task { |
| 766 | let mut t = task(id, satisfies); |
| 767 | t.task_status = "done".to_string(); |
| 768 | t |
| 769 | } |
| 770 | |
| 771 | #[test] |
| 772 | fn gate_accepts_done_intent_with_many_tasks_and_criteria_all_complete() { |