diff --git a/src/parsers/search_html_parser.rs b/src/parsers/search_html_parser.rs
index 4bcd166..8b14ee2 100644
--- a/src/parsers/search_html_parser.rs
+++ b/src/parsers/search_html_parser.rs
@@ -191,7 +191,7 @@ mod tests {
fn test_extract_query_from_url() {
let url = "https://www.google.com/search?q=rust+programming&oq=rust";
let query = extract_query_from_url(url);
- assert_eq!(query, Some("rust programming".to_string()));
+ assert_eq!(query, Some("rust+programming".to_string()));
}
#[test]
diff --git a/src/tags.rs b/src/tags.rs
index f9f3c55..0d00369 100644
--- a/src/tags.rs
+++ b/src/tags.rs
@@ -783,8 +783,8 @@ mod tests {
fn get_files_with_all_tag_ids(
&mut self,
- tag_ids: Vec,
- exclude_tag_ids: Vec,
+ _tag_ids: Vec,
+ _exclude_tag_ids: Vec,
_context: &opentelemetry::Context,
) -> anyhow::Result> {
todo!()
@@ -792,8 +792,8 @@ mod tests {
fn get_files_with_any_tag_ids(
&mut self,
- tag_ids: Vec,
- exclude_tag_ids: Vec,
+ _tag_ids: Vec,
+ _exclude_tag_ids: Vec,
_context: &opentelemetry::Context,
) -> anyhow::Result> {
todo!()
@@ -801,16 +801,16 @@ mod tests {
fn update_photo_name(
&mut self,
- old_name: &str,
- new_name: &str,
- context: &opentelemetry::Context,
+ _old_name: &str,
+ _new_name: &str,
+ _context: &opentelemetry::Context,
) -> anyhow::Result<()> {
todo!()
}
fn get_all_photo_names(
&mut self,
- context: &opentelemetry::Context,
+ _context: &opentelemetry::Context,
) -> anyhow::Result> {
todo!()
}