summaryrefslogtreecommitdiffstats
path: root/tests/Components/ExpressionArrayTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Components/ExpressionArrayTest.php')
-rw-r--r--tests/Components/ExpressionArrayTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Components/ExpressionArrayTest.php b/tests/Components/ExpressionArrayTest.php
index cd413ac..ede3954 100644
--- a/tests/Components/ExpressionArrayTest.php
+++ b/tests/Components/ExpressionArrayTest.php
@@ -13,11 +13,11 @@ class ExpressionArrayTest extends TestCase
$component = ExpressionArray::parse(
new Parser(),
$this->getTokensList('(expr)'),
- array(
+ [
'breakOnParentheses' => true,
- )
+ ]
);
- $this->assertEquals(array(), $component);
+ $this->assertEquals([], $component);
}
public function testParse2()
@@ -25,9 +25,9 @@ class ExpressionArrayTest extends TestCase
$component = ExpressionArray::parse(
new Parser(),
$this->getTokensList('(expr) +'),
- array(
+ [
'parenthesesDelimited' => true,
- )
+ ]
);
$this->assertCount(1, $component);
$this->assertEquals('(expr)', $component[0]->expr);