Skip to content

Commit

Permalink
changed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
henke443 committed Apr 17, 2024
1 parent ad916c2 commit 8287106
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ for _ in 0..3 {
threads.push(t);
}

{
assert_eq!(list_mut.lock().unwrap().head().unwrap().value, 0);
}


for t in threads {
t.join().unwrap();
}
Expand Down
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@
//! threads.push(t);
//! }
//!
//! {
//! assert_eq!(list_mut.lock().unwrap().head().unwrap().value, 0);
//! }
//!
//!
//! for t in threads {
Expand Down
4 changes: 0 additions & 4 deletions tests/test_linked_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ fn test_multithreading() {
threads.push(t);
}

{
assert_eq!(list_mut.lock().unwrap().head().unwrap().value, 0);
}

for t in threads {
t.join().unwrap();
}
Expand Down

0 comments on commit 8287106

Please sign in to comment.