From 7be2b33c5b7555498e233b1b0562bdcaee196164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Wed, 20 Mar 2024 10:50:21 +0900 Subject: [PATCH] Remove some tests --- .../src/simplify/expr/tests.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/swc_ecma_transforms_optimization/src/simplify/expr/tests.rs b/crates/swc_ecma_transforms_optimization/src/simplify/expr/tests.rs index 472c4b3506bd..9b4b388a6c01 100644 --- a/crates/swc_ecma_transforms_optimization/src/simplify/expr/tests.rs +++ b/crates/swc_ecma_transforms_optimization/src/simplify/expr/tests.rs @@ -661,10 +661,6 @@ fn test_folding_mix_types_early() { fn test_folding_add1() { fold("x = null + true", "x=1"); fold_same("x = a + true"); - fold("x = '' + {}", "x = \"[object Object]\""); - fold("x = [] + {}", "x = \"[object Object]\""); - fold("x = {} + []", "x = \"[object Object]\""); - fold("x = {} + ''", "x = \"[object Object]\""); } #[test]