Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestthompson3 committed Apr 8, 2023
1 parent d799601 commit 5b7a79e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/build/src/references.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ mod tests {
link_tree.insert(title.into(), vec!["wiki page".into()]);
let links: GlobalBacklinks = Arc::new(Mutex::new(link_tree));
let path = get_file_path(title).unwrap();
let note = path_to_data_structure(&path).await.unwrap();
let note = path_to_data_structure(&path).unwrap();
update_global_store(title, &note, links.clone()).await;
let updated_links = links.lock().await;
let entry = updated_links.get(title).unwrap();
Expand Down Expand Up @@ -216,7 +216,7 @@ mod tests {
link_tree.insert(title.into(), vec!["wiki page".into()]);
let links: GlobalBacklinks = Arc::new(Mutex::new(link_tree));
let path = get_file_path(title).unwrap();
let note = path_to_data_structure(&path).await.unwrap();
let note = path_to_data_structure(&path).unwrap();
delete_from_global_store(title, &note, links.clone()).await;
let updated_links = links.lock().await;
let entry = updated_links.get(title);
Expand Down

0 comments on commit 5b7a79e

Please sign in to comment.