Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
GhenadieVP committed Sep 30, 2024
1 parent b51cac4 commit 618d982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sargon/src/system/sargon_os/profile_state_holder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ mod tests {
}

#[test]
fn test_concurrent_access_writes() {
fn test_concurrent_access_writes_order_is_preserved() {
let profile = Profile::sample();
let state = ProfileState::Loaded(profile);
let sut = ProfileStateHolder::new(state.clone());
Expand Down Expand Up @@ -325,7 +325,7 @@ mod tests {

#[test]
#[should_panic]
fn test_concurrent_access_poisoned_lock() {
fn test_concurrent_access_poisoned_lock_panics() {
let state = ProfileState::Loaded(Profile::sample());
let sut = ProfileStateHolder::new(state.clone());
let state_holder = Arc::new(sut);
Expand Down

0 comments on commit 618d982

Please sign in to comment.