Skip to content

Commit c149a54

Browse files
committed
Remove unnecessary annotation fault tolerance tests
1 parent 91cad4a commit c149a54

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

compiler-core/src/type_/tests/functions.rs

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -261,33 +261,6 @@ pub fn main() {
261261
);
262262
}
263263

264-
#[test]
265-
fn multiple_bad_statement_assignment_with_annotation_fault_tolerance() {
266-
assert_module_error!(
267-
r#"
268-
pub fn main() {
269-
let a: Int = "not an int"
270-
let b: String = 1
271-
let c = a + 2
272-
}
273-
"#
274-
);
275-
}
276-
277-
#[test]
278-
fn multiple_bad_statement_assignment_with_annotation_fault_tolerance2() {
279-
assert_module_error!(
280-
r#"
281-
pub fn main() {
282-
// Since the value is invalid the type is the annotation
283-
let a: Int = Junk
284-
let b: String = 1
285-
let c = a + 2
286-
}
287-
"#
288-
);
289-
}
290-
291264
#[test]
292265
fn multiple_bad_statement_assignment_with_pattern_fault_tolerance2() {
293266
assert_module_error!(

0 commit comments

Comments
 (0)