From f285d91ce44b87d533ef7243fc0b4cf905576860 Mon Sep 17 00:00:00 2001 From: rldhont Date: Mon, 21 Jan 2019 14:33:23 +0100 Subject: [PATCH] [Tests] Add LIKE with underscore (_) as partially uncompiled expression for shp provider --- tests/src/python/test_provider_shapefile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/src/python/test_provider_shapefile.py b/tests/src/python/test_provider_shapefile.py index 322b26c63e6..4763b71a56d 100644 --- a/tests/src/python/test_provider_shapefile.py +++ b/tests/src/python/test_provider_shapefile.py @@ -203,6 +203,8 @@ class TestPyQgsShapefileProvider(unittest.TestCase, ProviderTestCase): 'name = \'apple\'', 'name LIKE \'Apple\'', 'name LIKE \'aPple\'', + 'name LIKE \'Ap_le\'', + 'name LIKE \'Ap\\_le\'', '"name"="name2"']) def testRepack(self):