fix cli_test effectful_form getting stuck

This commit is contained in:
Anton-4 2025-01-07 14:30:38 +01:00
parent a089cf2487
commit 4c33cb6686
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
3 changed files with 17 additions and 12 deletions

View file

@ -80,6 +80,8 @@ impl ExecCli {
app_stdin_opt: Option<&str>,
app_args_opt: Option<&[&str]>,
) {
assert!(self.sub_command == roc_cli::CMD_BUILD, "check_build_and_run should be run with the build command, instead it was run with '{}'.", self.sub_command);
let build_cmd_out = self.run();
build_cmd_out.assert_clean_success();