summaryrefslogtreecommitdiffstats
path: root/tests/Components/LimitTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Components/LimitTest.php')
-rw-r--r--tests/Components/LimitTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Components/LimitTest.php b/tests/Components/LimitTest.php
index bc5a462..15c665a 100644
--- a/tests/Components/LimitTest.php
+++ b/tests/Components/LimitTest.php
@@ -10,10 +10,10 @@ use SqlParser\Tests\TestCase;
class LimitTest extends TestCase
{
- public function testBuild()
+ public function testBuildWithoutOffset()
{
$component = new Limit(1);
- $this->assertEquals(Limit::build($component), '1');
+ $this->assertEquals(Limit::build($component), '0, 1');
}
public function testBuildWithOffset()