diff --git a/test/language/expressions/coalesce/cannot-chain-head-with-logical-and.js b/test/language/expressions/coalesce/cannot-chain-head-with-logical-and.js index 24d890adad..de17de9f94 100644 --- a/test/language/expressions/coalesce/cannot-chain-head-with-logical-and.js +++ b/test/language/expressions/coalesce/cannot-chain-head-with-logical-and.js @@ -22,8 +22,10 @@ info: | BitwiseORExpression features: [coalesce-expression] negative: - phase: early + phase: parse type: SyntaxError ---*/ +$DONOTEVALUATE(); + 0 && 0 ?? true; diff --git a/test/language/expressions/coalesce/cannot-chain-head-with-logical-or.js b/test/language/expressions/coalesce/cannot-chain-head-with-logical-or.js index 7bee8405fb..de9ff3fffb 100644 --- a/test/language/expressions/coalesce/cannot-chain-head-with-logical-or.js +++ b/test/language/expressions/coalesce/cannot-chain-head-with-logical-or.js @@ -22,8 +22,10 @@ info: | BitwiseORExpression features: [coalesce-expression] negative: - phase: early + phase: parse type: SyntaxError ---*/ +$DONOTEVALUATE(); + 0 || 0 ?? true; diff --git a/test/language/expressions/coalesce/cannot-chain-tail-with-logical-and.js b/test/language/expressions/coalesce/cannot-chain-tail-with-logical-and.js index 3521b8fa2e..a279608cc6 100644 --- a/test/language/expressions/coalesce/cannot-chain-tail-with-logical-and.js +++ b/test/language/expressions/coalesce/cannot-chain-tail-with-logical-and.js @@ -23,8 +23,10 @@ info: | BitwiseORExpression features: [coalesce-expression] negative: - phase: early + phase: parse type: SyntaxError ---*/ +$DONOTEVALUATE(); + 0 ?? 0 && true; diff --git a/test/language/expressions/coalesce/cannot-chain-tail-with-logical-or.js b/test/language/expressions/coalesce/cannot-chain-tail-with-logical-or.js index 71ba0af03d..0849f76139 100644 --- a/test/language/expressions/coalesce/cannot-chain-tail-with-logical-or.js +++ b/test/language/expressions/coalesce/cannot-chain-tail-with-logical-or.js @@ -23,8 +23,10 @@ info: | BitwiseORExpression features: [coalesce-expression] negative: - phase: early + phase: parse type: SyntaxError ---*/ +$DONOTEVALUATE(); + 0 ?? 0 || true;