diff options
Diffstat (limited to 'tests/test_build.py')
-rw-r--r-- | tests/test_build.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index ad0bb9a..da1677f 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -546,6 +546,10 @@ class TestBuild(unittest.TestCase): "UPDATE tbl SET x = 1 FROM tbl2", ), ( + lambda: exp.update("tbl", {"x": 1}, from_="tbl2 cross join tbl3"), + "UPDATE tbl SET x = 1 FROM tbl2 CROSS JOIN tbl3", + ), + ( lambda: union("SELECT * FROM foo", "SELECT * FROM bla"), "SELECT * FROM foo UNION SELECT * FROM bla", ), |