浏览代码

Fix formatting

m00nwtchr 1 年之前
父节点
当前提交
ed661174ba
共有 1 个文件被更改,包括 18 次插入18 次删除
  1. 18 18
      src/results/aggregator.rs

+ 18 - 18
src/results/aggregator.rs

@@ -291,15 +291,15 @@ mod tests {
             },
         ));
         map_to_be_filtered.push((
-			"https://www.rust-lang.org/".to_owned(),
-			SearchResult {
-				title: "Rust Programming Language".to_owned(),
-				url: "https://www.rust-lang.org/".to_owned(),
-				description: "A systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.".to_owned(),
-				engine: smallvec!["Google".to_owned(), "DuckDuckGo".to_owned()],
-				relevance_score: 0.0,
-			}, )
-		);
+            "https://www.rust-lang.org/".to_owned(),
+            SearchResult {
+                title: "Rust Programming Language".to_owned(),
+                url: "https://www.rust-lang.org/".to_owned(),
+                description: "A systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.".to_owned(),
+                engine: smallvec!["Google".to_owned(), "DuckDuckGo".to_owned()],
+                relevance_score: 0.0,
+            }, )
+        );
 
         // Create a temporary file with regex patterns
         let mut file = NamedTempFile::new()?;
@@ -342,15 +342,15 @@ mod tests {
             },
         ));
         map_to_be_filtered.push((
-			"https://www.rust-lang.org/".to_owned(),
-			SearchResult {
-				title: "Rust Programming Language".to_owned(),
-				url: "https://www.rust-lang.org/".to_owned(),
-				description: "A systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.".to_owned(),
-				engine: smallvec!["Google".to_owned(), "DuckDuckGo".to_owned()],
-				relevance_score: 0.0,
-			},
-		));
+            "https://www.rust-lang.org/".to_owned(),
+            SearchResult {
+                title: "Rust Programming Language".to_owned(),
+                url: "https://www.rust-lang.org/".to_owned(),
+                description: "A systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety.".to_owned(),
+                engine: smallvec!["Google".to_owned(), "DuckDuckGo".to_owned()],
+                relevance_score: 0.0,
+            },
+        ));
 
         // Create a temporary file with a regex pattern containing a wildcard
         let mut file = NamedTempFile::new()?;