Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Tests] Add LIKE underscore (_) test to feature source test base
  • Loading branch information
rldhont authored and nyalldawson committed Feb 8, 2019
1 parent 094620b commit 4b60a1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/python/featuresourcetestbase.py
Expand Up @@ -155,6 +155,8 @@ def runGetFeatureTests(self, source):
self.assert_query(source, '(name = \'Apple\') is not null', [1, 2, 3, 4])
self.assert_query(source, 'name LIKE \'Apple\'', [2])
self.assert_query(source, 'name LIKE \'aPple\'', [])
self.assert_query(source, 'name LIKE \'Ap_le\'', [2])
self.assert_query(source, 'name LIKE \'Ap\\_le\'', [])
self.assert_query(source, 'name ILIKE \'aPple\'', [2])
self.assert_query(source, 'name ILIKE \'%pp%\'', [2])
self.assert_query(source, 'cnt > 0', [1, 2, 3, 4])
Expand Down

0 comments on commit 4b60a1e

Please sign in to comment.