Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 4673b73

Browse files
committed
feat: update tests
1 parent 0665452 commit 4673b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def test_funcs(self):
197197
t = table("a")
198198

199199
q = c.compile(t.order_by(Random()).limit(10))
200-
self.assertEqual(q, "SELECT * FROM a ORDER BY random() LIMIT 10")
200+
self.assertEqual(q, "SELECT * FROM (SELECT * FROM a ORDER BY random()) AS LIMITED_SELECT LIMIT 10")
201201

202202
q = c.compile(t.select(coalesce(this.a, this.b)))
203203
self.assertEqual(q, "SELECT COALESCE(a, b) FROM a")

0 commit comments

Comments
 (0)