@@ -618,6 +618,7 @@ const subcommand_cases = [_]CliCase{
618618 .{ .id = 0 , .suite = .subcommands , .name = "roc check succeeds with unused app package shorthand (issue 9488)" , .body = .{ .command = .{ .args = &.{ "check" , "--no-cache" }, .roc_file = "test/cli/package_shorthand_check_app/main.roc" , .exit = .success , .not_contains = &.{.{ .stream = .stderr , .text = "panic" }} } } },
619619 .{ .id = 0 , .suite = .subcommands , .name = "roc check resolves and checks a used sibling package shorthand (issue 9488)" , .body = .{ .command = .{ .args = &.{ "check" , "--no-cache" }, .roc_file = "test/cli/package_shorthand_used_app/main.roc" , .exit = .not_panic , .contains = &.{ .{ .stream = .stderr , .text = "package_shorthand_used_pkg" }, .{ .stream = .stderr , .text = "TYPE MISMATCH" } }, .not_contains = &.{.{ .stream = .stderr , .text = "panic" }} } } },
620620 .{ .id = 0 , .suite = .subcommands , .name = "roc check does not hang on tag union type alias inside List (issue 9481)" , .body = .{ .command = .{ .args = &.{ "check" , "--no-cache" }, .roc_file = "test/cli/tag_union_alias_hang.roc" , .not_contains = &.{ .{ .stream = .stderr , .text = "panic" }, .{ .stream = .stderr , .text = "Coordinator stuck" }, .{ .stream = .stderr , .text = "Infinite loop" }, .{ .stream = .stderr , .text = "INFINITE TYPE" } } } } },
621+ .{ .id = 0 , .suite = .subcommands , .name = "roc check succeeds on string interpolation in Try.map_err (issue 9650)" , .body = .{ .command = .{ .args = &.{ "check" , "--no-cache" }, .roc_file = "test/cli/issue_9650_checked_interpolation_map_err.roc" , .exit = .success , .contains_any = &.{.{ .needles = & no_errors_needles }}, .not_contains = &.{ .{ .stream = .stderr , .text = "ordinary method call reached artifact publication" }, .{ .stream = .stderr , .text = "panic" } } } } },
621622 .{ .id = 0 , .suite = .subcommands , .name = "roc check succeeds on Parser type module" , .body = .{ .command = .{ .args = &.{ "check" , "--no-cache" }, .roc_file = "test/package_simple_parser/Parser.roc" , .not_contains = &.{.{ .stream = .stderr , .text = "error" }} } } },
622623 .{ .id = 0 , .suite = .subcommands , .name = "roc check succeeds when block-local associated value captures local value" , .body = .{ .command = .{ .args = &.{ "check" , "--no-cache" }, .roc_file = "test/cli/block_local_assoc_capture/Test.roc" , .exit = .success } } },
623624 .{ .id = 0 , .suite = .subcommands , .name = "roc test runs expects in Parser type module (interpreter)" , .backend = .interpreter , .body = .{ .command = .{ .args = &.{ "test" , "--opt=interpreter" , "--no-cache" }, .roc_file = "test/package_simple_parser/Parser.roc" , .contains = &.{ .{ .stream = .stdout , .text = "passed" }, .{ .stream = .stdout , .text = "(7)" } } } } },
0 commit comments