tests: add tests for YT internal channels, remove RSS default feature

This commit is contained in:
ThetaDev 2022-10-12 21:17:54 +02:00
parent de118c59c4
commit 62853d50bf
6 changed files with 90 additions and 60 deletions

View file

@ -506,9 +506,10 @@ pub fn alerts_to_err(alerts: Option<Vec<Alert>>) -> ExtractionError {
.into_iter()
.map(|a| a.alert_renderer.text)
.collect::<Vec<_>>()
.join(" "),
.join(" ")
.into(),
),
None => ExtractionError::InvalidData("no contents".into()),
None => ExtractionError::ContentUnavailable("content not found".into()),
}
}