Skip to content

Commit

Permalink
[Tests] Add LIKE underscore (_) test to feature source test base
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Jan 18, 2019
1 parent d42a7b2 commit 1903403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/python/featuresourcetestbase.py
Original file line number Diff line number Diff line change
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 1903403

Please sign in to comment.