Updated new tests

This commit is contained in:
Jared Cone 2022-04-20 22:02:13 -07:00
parent bfbd810ae6
commit 497b8c114e
No known key found for this signature in database
GPG Key ID: 99D4217479603EA1
3 changed files with 5 additions and 1 deletions

View File

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

View File

@ -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"

View File

@ -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]