mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
Add unit test for server
This commit is contained in:
@@ -23,6 +23,8 @@ pub enum PixivDownloaderError {
|
||||
FromUtf8Error(std::string::FromUtf8Error),
|
||||
#[cfg(feature = "server")]
|
||||
ToStrError(http::header::ToStrError),
|
||||
#[cfg(all(feature = "server", feature = "db_sqlite", test))]
|
||||
JSONError(json::Error),
|
||||
}
|
||||
|
||||
impl From<&str> for PixivDownloaderError {
|
||||
|
||||
Reference in New Issue
Block a user