Skip to content
Permalink
Browse files

[Tests] Add LIKE underscore (_) test to feature source test base

  • Loading branch information
rldhont committed Jan 18, 2019
1 parent d42a7b2 commit 1903403f6d7f9a9479b6b14918990bd0d1c70178
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/python/featuresourcetestbase.py
@@ -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])

0 comments on commit 1903403

Please sign in to comment.
You can’t perform that action at this time.