Fix CLI test for packages

This commit is contained in:
Richard Feldman 2022-12-16 12:18:41 -05:00
parent 1d670cd0cf
commit c4da82cdae
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B
2 changed files with 7 additions and 7 deletions

View File

@ -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,
); );

View File

@ -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!"