@@ -37,7 +37,6 @@ public LegacyFilterParseTests()
37
37
[ InlineData ( "filter[author]" , "some" , "Attribute 'author' does not exist on resource 'blogPosts'." ) ]
38
38
[ InlineData ( "filter[author.posts]" , "some" , "Field 'posts' in 'author.posts' must be an attribute or a to-one relationship on resource 'webAccounts'." ) ]
39
39
[ InlineData ( "filter[unknown.id]" , "some" , "Relationship 'unknown' in 'unknown.id' does not exist on resource 'blogPosts'." ) ]
40
- [ InlineData ( "filter[author]" , " " , "Unexpected whitespace." ) ]
41
40
[ InlineData ( "filter" , "expr:equals(some,'other')" , "Field 'some' does not exist on resource 'blogPosts'." ) ]
42
41
[ InlineData ( "filter" , "expr:equals(author,'Joe')" , "Attribute 'author' does not exist on resource 'blogPosts'." ) ]
43
42
[ InlineData ( "filter" , "expr:has(author)" , "Relationship 'author' must be a to-many relationship on resource 'blogPosts'." ) ]
@@ -77,6 +76,7 @@ public void Reader_Read_Fails(string parameterName, string parameterValue, strin
77
76
[ InlineData ( "filter[caption]" , "unknown:some" , "equals(caption,'unknown:some')" ) ]
78
77
[ InlineData ( "filter[author.userName]" , "Jack" , "equals(author.userName,'Jack')" ) ]
79
78
[ InlineData ( "filter" , "expr:equals(caption,'some')" , "equals(caption,'some')" ) ]
79
+ [ InlineData ( "filter" , "expr:equals(caption,' ')" , "equals(caption,' ')" ) ]
80
80
[ InlineData ( "filter" , "expr:equals(author,null)" , "equals(author,null)" ) ]
81
81
[ InlineData ( "filter" , "expr:has(author.posts)" , "has(author.posts)" ) ]
82
82
[ InlineData ( "filter" , "expr:equals(count(author.posts),'1')" , "equals(count(author.posts),'1')" ) ]
0 commit comments