()
| 7002 | |
| 7003 | #[test] |
| 7004 | fn planning_mode_takes_precedence_over_legacy_bool() { |
| 7005 | let opts = |
| 7006 | apply_planning_mode(RustSessionOptions::new(), Some("disabled"), Some(true)).unwrap(); |
| 7007 | assert!(matches!(opts.planning_mode, RustPlanningMode::Disabled)); |
| 7008 | |
| 7009 | let opts = apply_planning_mode(RustSessionOptions::new(), None, Some(true)).unwrap(); |
| 7010 | assert!(matches!(opts.planning_mode, RustPlanningMode::Enabled)); |
| 7011 | } |
| 7012 | |
| 7013 | #[test] |
| 7014 | fn session_options_map_parallel_delegation_controls() { |
nothing calls this directly
no test coverage detected