diff --git a/examples/cli/ingested-file-bytes.roc b/crates/cli/tests/cli/ingested-file-bytes.roc similarity index 80% rename from examples/cli/ingested-file-bytes.roc rename to crates/cli/tests/cli/ingested-file-bytes.roc index 1fd7458b78..9a87c0d178 100644 --- a/examples/cli/ingested-file-bytes.roc +++ b/crates/cli/tests/cli/ingested-file-bytes.roc @@ -1,7 +1,7 @@ app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" } import pf.Stdout -import "../../LICENSE" as license : _ # A type hole can also be used here. +import "ingested-file.roc" as license : _ # A type hole can also be used here. main = # Due to how license is used, it will be a List U8. diff --git a/crates/cli/tests/cli_run.rs b/crates/cli/tests/cli_run.rs index e58fe60505..2fcd00bc7e 100644 --- a/crates/cli/tests/cli_run.rs +++ b/crates/cli/tests/cli_run.rs @@ -959,12 +959,12 @@ mod cli_run { #[cfg_attr(windows, ignore)] fn ingested_file_bytes() { test_roc_app( - "examples/cli", + "crates/cli/tests/cli", "ingested-file-bytes.roc", &[], &[], &[], - "162088\n", + "27101\n", UseValgrind::No, TestCliCommands::Run, )