Skip to content

Commit

Permalink
test: check if activities to resume is none
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
  • Loading branch information
simonsan committed Mar 2, 2024
1 parent 10a2543 commit 65429f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions crates/core/tests/activity_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -804,5 +804,12 @@ fn test_begin_activity_with_held_activity() -> TestResult<()> {
"Should have no active intermissions."
);

assert!(
store
.resume_most_recent_activity(ResumeOptions::default())?
.is_none(),
"Should have no activity to resume."
);

Ok(())
}

0 comments on commit 65429f2

Please sign in to comment.