Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xremming committed May 27, 2024
1 parent 96e2b5d commit a4a5a25
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ mod tests {

#[test]
fn finds_alpha_lotus() {
let mut search = SearchOptions::new();

search
let search = SearchOptions::new()
.query(exact("Black Lotus"))
.unique(UniqueStrategy::Prints)
.sort(SortOrder::Released, SortDirection::Ascending);
Expand All @@ -244,9 +242,7 @@ mod tests {

#[test]
fn finds_alpha_lotus_buffered() {
let mut search = SearchOptions::new();

search
let search = SearchOptions::new()
.query(exact("Black Lotus"))
.unique(UniqueStrategy::Prints)
.sort(SortOrder::Released, SortDirection::Ascending);
Expand Down

0 comments on commit a4a5a25

Please sign in to comment.