Update unit test

This commit is contained in:
2022-09-25 03:13:19 +00:00
committed by GitHub
parent 597310a663
commit bb8078ce6a
4 changed files with 105 additions and 4 deletions

View File

@@ -25,6 +25,8 @@ pub enum PixivDownloaderError {
ToStrError(http::header::ToStrError),
#[cfg(all(feature = "server", feature = "db_sqlite", test))]
JSONError(json::Error),
#[cfg(feature = "openssl")]
OpenSSLError(openssl::error::ErrorStack),
}
impl From<&str> for PixivDownloaderError {