From cb42d9b076703456bd7d216f1f7357cd3074db5c Mon Sep 17 00:00:00 2001 From: Ayaz Hafiz Date: Fri, 22 Jul 2022 16:22:46 -0400 Subject: [PATCH] Remove subsumed test --- crates/reporting/tests/test_reporting.rs | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/crates/reporting/tests/test_reporting.rs b/crates/reporting/tests/test_reporting.rs index ce839bdfae..c775fe3c01 100644 --- a/crates/reporting/tests/test_reporting.rs +++ b/crates/reporting/tests/test_reporting.rs @@ -6029,30 +6029,6 @@ All branches in an `if` must have the same type! "### ); - test_report!( - underscore_let, - indoc!( - r#" - _ = 3 - - 4 - "# - ), - @r###" - ── UNNECESSARY DEFINITION ──────────────────────────────── /code/proj/Main.roc ─ - - This destructure assignment doesn't introduce any new variables: - - 4│ _ = 3 - ^ - - If you don't need to use the value on the right-hand-side of this - assignment, consider removing the assignment. Since Roc is purely - functional, assignments that don't introduce variables cannot affect a - program's behavior! - "### - ); - test_report!( expect_expr_type_error, indoc!(