mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-21 07:49:17 +03:00
Updated new tests
This commit is contained in:
parent
bfbd810ae6
commit
497b8c114e
@ -862,7 +862,7 @@ mod test_load {
|
||||
report,
|
||||
indoc!(
|
||||
"
|
||||
── UNRECOGNIZED NAME ───────────────────────────────────────────────────────────
|
||||
── UNRECOGNIZED NAME ────────── tmp/issue_2863_module_type_does_not_exist/Main ─
|
||||
|
||||
I cannot find a `DoesNotExist` value
|
||||
|
||||
|
@ -9855,6 +9855,7 @@ I need all branches in an `if` to have the same type!
|
||||
#[test]
|
||||
fn expression_generalization_to_ability_is_an_error() {
|
||||
new_report_problem_as(
|
||||
"expression_generalization_to_ability_is_an_error",
|
||||
indoc!(
|
||||
r#"
|
||||
app "test" provides [ hash, hashable ] to "./platform"
|
||||
@ -9900,6 +9901,7 @@ I need all branches in an `if` to have the same type!
|
||||
#[test]
|
||||
fn ability_value_annotations_are_an_error() {
|
||||
new_report_problem_as(
|
||||
"ability_value_annotations_are_an_error",
|
||||
indoc!(
|
||||
r#"
|
||||
app "test" provides [ result ] to "./platform"
|
||||
|
@ -9,3 +9,5 @@ description = "Utility functions used all over the code base."
|
||||
[dependencies]
|
||||
pretty_assertions = "1.0.0"
|
||||
remove_dir_all = "0.7.0"
|
||||
|
||||
[dev-dependencies]
|
||||
|
Loading…
Reference in New Issue
Block a user