diff --git a/crates/cli/tests/cli_run.rs b/crates/cli/tests/cli_run.rs index 8694cc0fad2..05cdda1c067 100644 --- a/crates/cli/tests/cli_run.rs +++ b/crates/cli/tests/cli_run.rs @@ -725,6 +725,51 @@ mod cli_run { assert!(out.status.success()); } + #[test] + #[cfg_attr(windows, ignore)] + #[serial(cli_platform)] + fn cli_countdown_check() { + let path = file_path_from_root("examples/cli", "countdown.roc"); + let out = run_roc([CMD_CHECK, path.to_str().unwrap()], &[], &[]); + assert!(out.status.success()); + } + + #[test] + #[cfg_attr(windows, ignore)] + #[serial(cli_platform)] + fn cli_echo_check() { + let path = file_path_from_root("examples/cli", "echo.roc"); + let out = run_roc([CMD_CHECK, path.to_str().unwrap()], &[], &[]); + assert!(out.status.success()); + } + + #[test] + #[cfg_attr(windows, ignore)] + #[serial(cli_platform)] + fn cli_file_check() { + let path = file_path_from_root("examples/cli", "fileBROKEN.roc"); + let out = run_roc([CMD_CHECK, path.to_str().unwrap()], &[], &[]); + assert!(out.status.success()); + } + + #[test] + #[cfg_attr(windows, ignore)] + #[serial(cli_platform)] + fn cli_form_check() { + let path = file_path_from_root("examples/cli", "form.roc"); + let out = run_roc([CMD_CHECK, path.to_str().unwrap()], &[], &[]); + assert!(out.status.success()); + } + + #[test] + #[cfg_attr(windows, ignore)] + #[serial(cli_platform)] + fn cli_http_get_check() { + let path = file_path_from_root("examples/cli", "http-get.roc"); + let out = run_roc([CMD_CHECK, path.to_str().unwrap()], &[], &[]); + assert!(out.status.success()); + } + #[test] #[cfg_attr(windows, ignore)] fn interactive_effects() {