From b38d717d5933fdae3fe85c87df7aee9a251fb58e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 3 Apr 2023 09:31:54 +0200 Subject: Merging upstream version 11.4.5. Signed-off-by: Daniel Baumann --- tests/dialects/test_sqlite.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/dialects/test_sqlite.py') diff --git a/tests/dialects/test_sqlite.py b/tests/dialects/test_sqlite.py index 98c4a79..fd9e52b 100644 --- a/tests/dialects/test_sqlite.py +++ b/tests/dialects/test_sqlite.py @@ -56,6 +56,11 @@ class TestSQLite(Validator): ) def test_sqlite(self): + self.validate_all("SELECT LIKE(y, x)", write={"sqlite": "SELECT x LIKE y"}) + self.validate_all("SELECT GLOB('*y*', 'xyz')", write={"sqlite": "SELECT 'xyz' GLOB '*y*'"}) + self.validate_all( + "SELECT LIKE('%y%', 'xyz', '')", write={"sqlite": "SELECT 'xyz' LIKE '%y%' ESCAPE ''"} + ) self.validate_all( "CURRENT_DATE", read={ -- cgit v1.2.3