mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
handle nulls correctly
This commit is contained in:
@@ -65,4 +65,10 @@ public class FeedEntryFilteringServiceTest {
|
||||
service.filterMatchesEntry("while(true) {}", entry);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void handlesNullCorrectly() throws FeedEntryFilterException {
|
||||
entry.setContent(new FeedEntryContent());
|
||||
service.filterMatchesEntry("author eq 'athou'", entry);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user