mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 21:40:58 +00:00
add todo tests
This commit is contained in:
parent
692f8e8090
commit
0086a531a2
1 changed files with 34 additions and 0 deletions
|
|
@ -14503,4 +14503,38 @@ In roc, functions are always written as a lambda, like{}
|
|||
make partial application explicit.
|
||||
"
|
||||
);
|
||||
|
||||
// TODO: add the following tests after built-in Tasks are added
|
||||
// https://github.com/roc-lang/roc/pull/6836
|
||||
|
||||
// test_report!(
|
||||
// suffixed_stmt_invalid_type,
|
||||
// indoc!(
|
||||
// r###"
|
||||
// app "test" provides [main] to "./platform"
|
||||
|
||||
// main : Task U64 _ -> _
|
||||
// main = \task ->
|
||||
// task!
|
||||
// 42
|
||||
// "###
|
||||
// ),
|
||||
// @r""
|
||||
// );
|
||||
|
||||
// test_report!(
|
||||
// suffixed_expr_invalid_type,
|
||||
// indoc!(
|
||||
// r###"
|
||||
// app "test" provides [main] to "./platform"
|
||||
|
||||
// main : Task U64 _ -> _
|
||||
// main = \task ->
|
||||
// result : U32
|
||||
// result = task!
|
||||
// result
|
||||
// "###
|
||||
// ),
|
||||
// @r""
|
||||
// );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue