Skip to content

Commit 2014221

Browse files
authored
Merge branch 'main' into ignore-ctrl-c-in-repl
2 parents 968dc86 + 81a149c commit 2014221

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1551
-256
lines changed

.github/workflows/test_nightly_many_os.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
os: [ macos-12, macos-13, ubuntu-20.04, ubuntu-22.04 ]
12+
os: [ macos-12, macos-13, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
1313
runs-on: ${{ matrix.os }}
1414
timeout-minutes: 90
1515
steps:

crates/cli/tests/cli_run.rs

+19
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,25 @@ mod cli_run {
903903
);
904904
}
905905

906+
#[test]
907+
#[cfg_attr(windows, ignore)]
908+
fn module_params_pass_task() {
909+
test_roc_app(
910+
"crates/cli/tests/module_params",
911+
"pass_task.roc",
912+
&[],
913+
&[],
914+
&[],
915+
indoc!(
916+
r#"
917+
Hi, Agus!
918+
"#
919+
),
920+
UseValgrind::No,
921+
TestCliCommands::Run,
922+
);
923+
}
924+
906925
#[test]
907926
#[cfg_attr(windows, ignore)]
908927
fn transitive_expects() {
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module { echo } -> [menu]
2+
3+
menu = \name ->
4+
indirect name
5+
6+
indirect = \name ->
7+
echo "Hi, $(name)!"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.15.0/SlwdbJ-3GR7uBWQo6zlmYWNYOxnvo8r6YABXD-45UOw.tar.br" }
2+
3+
import pf.Stdout
4+
import Menu { echo: Stdout.line }
5+
6+
main =
7+
Menu.menu "Agus"

0 commit comments

Comments
 (0)