diff --git a/cli/tests/cli_run.rs b/cli/tests/cli_run.rs index fb98fc0232..c91dd0294d 100644 --- a/cli/tests/cli_run.rs +++ b/cli/tests/cli_run.rs @@ -244,9 +244,9 @@ mod cli_run { return; } } - "gui" => { - // Since this one requires opening a window, we do `roc build` on it but don't runt i.t - build_example(&Path::new(example.filename), &["--optimize"]); + "hello-gui" => { + // Since this one requires opening a window, we do `roc build` on it but don't run it. + build_example(&file_name, &["--optimize"]); return; }