From 0fadddba58fd81e2ee43422928fd90af51a52f45 Mon Sep 17 00:00:00 2001 From: xunilrj Date: Mon, 21 Aug 2023 15:05:20 +0100 Subject: [PATCH] fix two tests --- .../should_fail/annotated_missing_item/test.toml | 2 +- .../should_fail/double_underscore_trait_fn/test.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/src/e2e_vm_tests/test_programs/should_fail/annotated_missing_item/test.toml b/test/src/e2e_vm_tests/test_programs/should_fail/annotated_missing_item/test.toml index 0206c403aa0..33b6d7e66dd 100644 --- a/test/src/e2e_vm_tests/test_programs/should_fail/annotated_missing_item/test.toml +++ b/test/src/e2e_vm_tests/test_programs/should_fail/annotated_missing_item/test.toml @@ -1,3 +1,3 @@ category = "fail" -# check: $()Expected item after doc comment +# check: $()Expected an item after doc comment diff --git a/test/src/e2e_vm_tests/test_programs/should_fail/double_underscore_trait_fn/test.toml b/test/src/e2e_vm_tests/test_programs/should_fail/double_underscore_trait_fn/test.toml index 4543ad5a87d..5561e64a3ef 100644 --- a/test/src/e2e_vm_tests/test_programs/should_fail/double_underscore_trait_fn/test.toml +++ b/test/src/e2e_vm_tests/test_programs/should_fail/double_underscore_trait_fn/test.toml @@ -1,4 +1,7 @@ category = "fail" -# check: __test() +# This appears in the warning for the trait having no implementation. +# check: fn __test() + +# check: fn __test() # nextln: $()Identifiers cannot begin with a double underscore, as that naming convention is reserved for compiler intrinsics.