Fix string operators >= and <=

Change-Id: Iaca5b7cc0a28ce5cf8ec6d53a34655a2052e42dc
Closes-bug: #1589604
This commit is contained in:
Omar Shykhkerimov 2016-06-06 20:01:30 +03:00
parent 9a5c03a90c
commit 9d6866e694

View File

@ -39,14 +39,14 @@ def lt(left, right):
@specs.parameter('right', yaqltypes.String())
@specs.name('#operator_>=')
def gte(left, right):
return left > right
return left >= right
@specs.parameter('left', yaqltypes.String())
@specs.parameter('right', yaqltypes.String())
@specs.name('#operator_<=')
def lte(left, right):
return left < right
return left <= right
@specs.parameter('args', yaqltypes.String())