From 26cc04d951e7934048c4c56b5a987d2f12463ec1 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Fri, 17 Feb 2023 18:18:57 +0700 Subject: [PATCH] Failing test case duplicated commented elseif on alternative syntax --- test/code/prettyPrinter/comments.test | 38 ++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/test/code/prettyPrinter/comments.test b/test/code/prettyPrinter/comments.test index 34a9f93d8f..83ff33f0c2 100644 --- a/test/code/prettyPrinter/comments.test +++ b/test/code/prettyPrinter/comments.test @@ -64,4 +64,40 @@ function test() function test() { // empty -} \ No newline at end of file +} +----- +
+ getMinAmount()) && ($_max = $this->getMaxAmount()) && ($_min == $_max)): ?> + + currency($_min, true, false) ?> + + getMinAmount()) && $_min != 0): ?> + __('From') ?> + + currency($_min,true,false) ?> + + getMaxAmount()): ?> + __('Up To') ?> + + currency($_max,true,false) ?> + + +
+----- +
+ getMinAmount()) && ($_max = $this->getMaxAmount()) && ($_min == $_max)): ?> + + currency($_min, true, false) ?> + + getMinAmount()) && $_min != 0): ?> + __('From') ?> + + currency($_min,true,false) ?> + + getMaxAmount()): ?> + __('Up To') ?> + + currency($_max,true,false) ?> + + +
\ No newline at end of file