add test for this issue

This commit is contained in:
Folkert 2021-12-31 21:45:41 +01:00
parent ee9f0b2f04
commit 06be340bee
3 changed files with 22 additions and 0 deletions

View File

@ -601,6 +601,14 @@ mod cli_run {
expected_ending: "",
use_valgrind: true,
},
issue2279 => Example {
filename: "Issue2279.roc",
executable_filename: "issue2279",
stdin: &[],
input_file: None,
expected_ending: "Hello, world!\n",
use_valgrind: true,
},
quicksort_app => Example {
filename: "QuicksortApp.roc",
executable_filename: "quicksortapp",

View File

@ -0,0 +1,9 @@
app "issue2279"
packages { pf: "platform" }
imports [ Issue2279Help, pf.Task ]
provides [ main ] to pf
main =
text = Issue2279Help.text
Task.putLine text

View File

@ -0,0 +1,5 @@
interface Issue2279Help
exposes [ text ]
imports []
text = "Hello, world!"