[OLINGO-434] Added optional WSP between MINUS and property
This commit is contained in:
parent
4a4b110f99
commit
5c237fbe57
|
@ -191,7 +191,7 @@ contextFragment : REST; // the context fragment is only required on the clie
|
|||
commonExpr : OPEN commonExpr CLOSE #altPharenthesis
|
||||
| vE1=commonExpr (WSP HAS WSP) vE2=commonExpr #altHas
|
||||
| methodCallExpr #altMethod
|
||||
| ( unary WSP ) commonExpr #altUnary
|
||||
| ( unary WSP? ) commonExpr #altUnary
|
||||
| anyExpr #altAny
|
||||
| allExpr #altAll
|
||||
| memberExpr #altMember
|
||||
|
|
|
@ -570,6 +570,7 @@ public class TestUriParserImpl {
|
|||
public void testUnary() throws UriParserException {
|
||||
testFilter.runESabc("not a").isCompr("<not <a>>");
|
||||
testFilter.runESabc("- a eq a").isCompr("<<- <a>> eq <a>>");
|
||||
testFilter.runESabc("-a eq a").isCompr("<<- <a>> eq <a>>");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue