Fix stale test: goal is now optional in run config

The missing_required_fields test was not updated when goal was changed
from String to Option<String> in c143d2c8.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-08 13:11:39 -04:00
parent 0ca9a309c0
commit 839cbc28b8

View file

@ -589,13 +589,17 @@ graph = "p.dot"
}
#[test]
fn missing_required_fields() {
fn goal_is_optional() {
let no_goal = r#"
version = 1
graph = "p.dot"
"#;
assert!(parse_run_config(no_goal).is_err());
let config = parse_run_config(no_goal).unwrap();
assert!(config.goal.is_none());
}
#[test]
fn graph_is_required() {
let no_graph = r#"
version = 1
goal = "x"