mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
add test for this issue
This commit is contained in:
parent
ee9f0b2f04
commit
06be340bee
@ -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",
|
||||
|
9
examples/benchmarks/Issue2279.roc
Normal file
9
examples/benchmarks/Issue2279.roc
Normal 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
|
5
examples/benchmarks/Issue2279Help.roc
Normal file
5
examples/benchmarks/Issue2279Help.roc
Normal file
@ -0,0 +1,5 @@
|
||||
interface Issue2279Help
|
||||
exposes [ text ]
|
||||
imports []
|
||||
|
||||
text = "Hello, world!"
|
Loading…
Reference in New Issue
Block a user