Skip to content

Commit

Permalink
Remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
max-muoto committed Sep 7, 2024
1 parent c8a9b0c commit 15d82a4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,17 +761,6 @@ def test_build(self):
),
"MERGE INTO target_table AS target USING source_table AS source ON target.id = source.id WHEN MATCHED THEN UPDATE SET target.name = source.name",
),
(
lambda: exp.merge(
"WHEN MATCHED THEN DO NOTHING",
"WHEN NOT MATCHED THEN INSERT (id, name) VALUES (source.id, source.name)",
into="target_table",
using="source_table",
on="target_table.id = source_table.id",
dialect="postgres",
),
"MERGE INTO target_table USING source_table ON target_table.id = source_table.id WHEN MATCHED THEN DO NOTHING WHEN NOT MATCHED THEN INSERT (id, name) VALUES (source.id, source.name)",
),
]:
with self.subTest(sql):
self.assertEqual(expression().sql(dialect[0] if dialect else None), sql)

0 comments on commit 15d82a4

Please sign in to comment.