mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Remove redundant comparison from test.
This commit is contained in:
@@ -88,14 +88,10 @@ public class FeedMatcherImplTest extends BrambleTestCase {
|
|||||||
// The second feed has the given RSS fields
|
// The second feed has the given RSS fields
|
||||||
Feed feed2 = createFeed(new RssProperties(null,
|
Feed feed2 = createFeed(new RssProperties(null,
|
||||||
title, description, author, link, uri));
|
title, description, author, link, uri));
|
||||||
// The third feed has no matching RSS fields
|
|
||||||
Feed feed3 = createFeed(new RssProperties(null,
|
|
||||||
nope(), nope(), nope(), nope(), nope()));
|
|
||||||
|
|
||||||
Feed match = matcher.findMatchingFeed(candidate,
|
Feed match = matcher.findMatchingFeed(candidate, asList(feed1, feed2));
|
||||||
asList(feed1, feed2, feed3));
|
|
||||||
|
|
||||||
// The matcher should not choose any of the feeds
|
// The matcher should not choose either of the feeds
|
||||||
assertNull(match);
|
assertNull(match);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user