mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 07:49:17 +03:00
Fix CLI test for packages
This commit is contained in:
parent
1d670cd0cf
commit
c4da82cdae
@ -609,7 +609,7 @@ mod cli_run {
|
|||||||
|
|
||||||
b : Num *
|
b : Num *
|
||||||
b = 2
|
b = 2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1 failed and 0 passed in <ignored for test> ms."#
|
1 failed and 0 passed in <ignored for test> ms."#
|
||||||
@ -1230,7 +1230,7 @@ mod cli_run {
|
|||||||
#[test]
|
#[test]
|
||||||
#[serial(multi_dep_thunk)]
|
#[serial(multi_dep_thunk)]
|
||||||
#[cfg_attr(windows, ignore)]
|
#[cfg_attr(windows, ignore)]
|
||||||
fn run_package_unoptimized() {
|
fn run_packages_unoptimized() {
|
||||||
check_output_with_stdin(
|
check_output_with_stdin(
|
||||||
&fixture_file("packages", "app.roc"),
|
&fixture_file("packages", "app.roc"),
|
||||||
&[],
|
&[],
|
||||||
@ -1238,7 +1238,7 @@ mod cli_run {
|
|||||||
&[],
|
&[],
|
||||||
&[],
|
&[],
|
||||||
&[],
|
&[],
|
||||||
"I am Dep2.value2\n",
|
"Hello, World! This text came from a package! This text came from a CSV package!\n",
|
||||||
UseValgrind::Yes,
|
UseValgrind::Yes,
|
||||||
TestCliCommands::Run,
|
TestCliCommands::Run,
|
||||||
);
|
);
|
||||||
@ -1247,7 +1247,7 @@ mod cli_run {
|
|||||||
#[test]
|
#[test]
|
||||||
#[serial(multi_dep_thunk)]
|
#[serial(multi_dep_thunk)]
|
||||||
#[cfg_attr(windows, ignore)]
|
#[cfg_attr(windows, ignore)]
|
||||||
fn run_package_optimized() {
|
fn run_packages_optimized() {
|
||||||
check_output_with_stdin(
|
check_output_with_stdin(
|
||||||
&fixture_file("packages", "app.roc"),
|
&fixture_file("packages", "app.roc"),
|
||||||
&[],
|
&[],
|
||||||
@ -1255,7 +1255,7 @@ mod cli_run {
|
|||||||
&[OPTIMIZE_FLAG],
|
&[OPTIMIZE_FLAG],
|
||||||
&[],
|
&[],
|
||||||
&[],
|
&[],
|
||||||
"I am Dep2.value2\n",
|
"Hello, World! This text came from a package! This text came from a CSV package!\n",
|
||||||
UseValgrind::Yes,
|
UseValgrind::Yes,
|
||||||
TestCliCommands::Run,
|
TestCliCommands::Run,
|
||||||
);
|
);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
interface Csv
|
interface Csv
|
||||||
exposes [example]
|
exposes [example]
|
||||||
imports [dep.CsvDep]
|
imports []
|
||||||
|
|
||||||
example : Str
|
example : Str
|
||||||
example = "This text came from a CSV package: \(CsvDep.stuff)!"
|
example = "This text came from a CSV package!"
|
Loading…
Reference in New Issue
Block a user