diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Components/ArrayObjTest.php | 2 | ||||
-rw-r--r-- | tests/Components/ExpressionArrayTest.php | 4 | ||||
-rw-r--r-- | tests/Components/OptionsArrayTest.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/Components/ArrayObjTest.php b/tests/Components/ArrayObjTest.php index c71ab37..d62c9d3 100644 --- a/tests/Components/ArrayObjTest.php +++ b/tests/Components/ArrayObjTest.php @@ -30,7 +30,7 @@ class ArrayObjTest extends TestCase array( 'type' => 'SqlParser\\Components\\Expression', 'typeOptions' => array( - 'noBrackets' => true, + 'breakOnParentheses' => true, ), ) ); diff --git a/tests/Components/ExpressionArrayTest.php b/tests/Components/ExpressionArrayTest.php index 0fad913..3d8cd77 100644 --- a/tests/Components/ExpressionArrayTest.php +++ b/tests/Components/ExpressionArrayTest.php @@ -16,7 +16,7 @@ class ExpressionArrayTest extends TestCase new Parser(), $this->getTokensList('(expr)'), array( - 'noBrackets' => true, + 'breakOnParentheses' => true, ) ); $this->assertEquals(array(), $component); @@ -28,7 +28,7 @@ class ExpressionArrayTest extends TestCase new Parser(), $this->getTokensList('(expr) +'), array( - 'bracketsDelimited' => true, + 'parenthesesDelimited' => true, ) ); $this->assertEquals(1, count($component)); diff --git a/tests/Components/OptionsArrayTest.php b/tests/Components/OptionsArrayTest.php index 1c8823e..5df776b 100644 --- a/tests/Components/OptionsArrayTest.php +++ b/tests/Components/OptionsArrayTest.php @@ -42,7 +42,7 @@ class OptionsArrayTest extends TestCase new Parser(), $this->getTokensList('SUM = (3 + 5) RESULT = 8'), array( - 'SUM' => array(1, 'expr', array('bracketsDelimited' => true)), + 'SUM' => array(1, 'expr', array('parenthesesDelimited' => true)), 'RESULT' => array(2, 'var'), ) ); |