We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28f7e19 commit 3fb8f67Copy full SHA for 3fb8f67
1 file changed
src/api/search.rs
@@ -27,4 +27,12 @@ mod tests {
27
assert_eq!(response.title, "Complementary Shaders - Reimagined");
28
Ok(())
29
}
30
+
31
+ #[tokio::test]
32
+ async fn asrt_slug_error() -> Result<()> {
33
+ let api = ModrinthAPI::default();
34
+ let response = api.get_project_by_id("dffdsfdsfsdfdsf").await;
35
+ assert!(response.is_err());
36
+ Ok(())
37
+ }
38
0 commit comments