move ingested-file-bytes.roc test

This commit is contained in:
Luke Boswell 2024-05-22 13:34:41 +10:00
parent b3f8c4dfd9
commit 7cbee42c2c
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
2 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,12 @@
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
import pf.Stdout
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.
license
|> List.map Num.toU64
|> List.sum
|> Num.toStr
|> Stdout.line!

View file

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