Skip to content

Commit

Permalink
Update: FunctionExpressionTest::testFunctionNesting()
Browse files Browse the repository at this point in the history
  • Loading branch information
StewEucen committed Jun 5, 2015
1 parent 71be1d0 commit 5806a55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function testFunctionNesting()
$binder = new ValueBinder;
$f = new FunctionExpression('MyFunction', ['foo', 'bar']);
$g = new FunctionExpression('Wrapper', ['bar' => 'literal', $f]);
$this->assertEquals("Wrapper(bar, MyFunction(:c0, :c1))", $g->sql($binder));
$this->assertEquals("Wrapper(bar, (MyFunction(:c0, :c1)))", $g->sql($binder));
}

/**
Expand Down

0 comments on commit 5806a55

Please sign in to comment.