From 8591437ff52eb28286862cb39aa1f22af4f5a41b Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 7 Dec 2025 01:29:32 +0700 Subject: [PATCH] Add arg on new without parentheses should add ) close --- .../formatPreservation/addArgNewWithoutParentheses.test | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/code/formatPreservation/addArgNewWithoutParentheses.test diff --git a/test/code/formatPreservation/addArgNewWithoutParentheses.test b/test/code/formatPreservation/addArgNewWithoutParentheses.test new file mode 100644 index 0000000000..62d5d7aa2a --- /dev/null +++ b/test/code/formatPreservation/addArgNewWithoutParentheses.test @@ -0,0 +1,9 @@ +Add Arg New Without Parentheses +----- +expr->args = [new Node\Arg(new Scalar\String_('now'))]; +----- +