mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Remove a couple remaining references to pf.Task
This commit is contained in:
parent
3d9c4673af
commit
b57258f5cb
2 changed files with 8 additions and 6 deletions
|
@ -266,20 +266,23 @@ mod tests {
|
|||
const FORMATTED_ROC: &str = r#"app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.15.0/SlwdbJ-3GR7uBWQo6zlmYWNYOxnvo8r6YABXD-45UOw.tar.br" }
|
||||
|
||||
import pf.Stdout
|
||||
import pf.Task
|
||||
import pf.Stdin
|
||||
|
||||
main =
|
||||
Stdout.line! "I'm a Roc application!""#;
|
||||
Stdout.line! "What's your name?"
|
||||
name = Stdin.line!
|
||||
Stdout.line! "Hi $(name)!""#;
|
||||
|
||||
const UNFORMATTED_ROC: &str = r#"app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.15.0/SlwdbJ-3GR7uBWQo6zlmYWNYOxnvo8r6YABXD-45UOw.tar.br" }
|
||||
|
||||
|
||||
import pf.Stdout
|
||||
|
||||
import pf.Task
|
||||
import pf.Stdin
|
||||
|
||||
main =
|
||||
Stdout.line! "I'm a Roc application!"
|
||||
Stdout.line! "What's your name?"
|
||||
name = Stdin.line!
|
||||
Stdout.line! "Hi $(name)!"
|
||||
"#;
|
||||
|
||||
fn setup_test_file(dir: &Path, file_name: &str, contents: &str) -> PathBuf {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue