mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-06 13:26:38 +08:00
fix subscription dedup availability confirmation
This commit is contained in:
@@ -71,8 +71,8 @@ func TestEnqueueSiteSearchDedupMarksEnglishRangeAvailableForChineseSubscription(
|
||||
t.Fatalf("availability missing E%d after dedup range: %#v", episode, state.Availability.ExistingEpisodeKeys)
|
||||
}
|
||||
}
|
||||
if _, ok := state.SeenSet[candidate.GUID]; !ok {
|
||||
t.Fatalf("seen set missing candidate guid after dedup")
|
||||
if _, ok := state.SeenSet[candidate.GUID]; ok {
|
||||
t.Fatalf("deduped candidate should not be marked seen before the next availability scan")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user