Skip to content

Commit

Permalink
fix confusing join expression test
Browse files Browse the repository at this point in the history
  • Loading branch information
koskimas committed Jul 7, 2023
1 parent 4083b88 commit 4682cff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/node/src/join.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@ for (const dialect of DIALECTS) {
eb('pet.species', '=', 'cat'),
eb('species', '=', 'dog'),
eb(
sql`${sql.ref('species')}`,
eb.ref('species'),
'=',
eb
.selectFrom('pet')
.select(sql`'hamster'`.as('hamster'))
.select(sql<'hamster'>`'hamster'`.as('hamster'))
.limit(1)
.offset(0)
),
Expand Down

0 comments on commit 4682cff

Please sign in to comment.