mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +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 = 2
|
||||
|
||||
|
||||
|
||||
|
||||
1 failed and 0 passed in <ignored for test> ms."#
|
||||
@ -1230,7 +1230,7 @@ mod cli_run {
|
||||
#[test]
|
||||
#[serial(multi_dep_thunk)]
|
||||
#[cfg_attr(windows, ignore)]
|
||||
fn run_package_unoptimized() {
|
||||
fn run_packages_unoptimized() {
|
||||
check_output_with_stdin(
|
||||
&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,
|
||||
TestCliCommands::Run,
|
||||
);
|
||||
@ -1247,7 +1247,7 @@ mod cli_run {
|
||||
#[test]
|
||||
#[serial(multi_dep_thunk)]
|
||||
#[cfg_attr(windows, ignore)]
|
||||
fn run_package_optimized() {
|
||||
fn run_packages_optimized() {
|
||||
check_output_with_stdin(
|
||||
&fixture_file("packages", "app.roc"),
|
||||
&[],
|
||||
@ -1255,7 +1255,7 @@ mod cli_run {
|
||||
&[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,
|
||||
TestCliCommands::Run,
|
||||
);
|
||||
|
@ -1,6 +1,6 @@
|
||||
interface Csv
|
||||
exposes [example]
|
||||
imports [dep.CsvDep]
|
||||
imports []
|
||||
|
||||
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