Skip to content

Commit 0cc2b0d

Browse files
author
ehennum
committed
testing as string #523
1 parent 9d1da41 commit 0cc2b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-basic/plan-expressions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ describe('expressions', function() {
226226
{row:1, num:1, str:'one'},
227227
{row:2, num:2, str:'two'}
228228
])
229-
.where(p.eq(p.fn.concat(p.col('num'), 1), '11'))
229+
.where(p.eq(p.fn.concat(p.col('num'), 1), p.fn.substringBefore('11one', p.col('str'))))
230230
)
231231
.then(function(response) {
232232
const output = getResults(response);

0 commit comments

Comments
 (0)