Skip to content

Commit

Permalink
fix: change to applies_unmocked
Browse files Browse the repository at this point in the history
  • Loading branch information
audunhalland committed Mar 25, 2024
1 parent 558b428 commit cdee4cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/nightly/associated_future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ mod with_unmock {
#[test]
fn should_mock_with_unmock() {
async {
let test = Unimock::new(FooMock::with_unmock.each_call(matching!(42)).unmocked());
let test = Unimock::new(
FooMock::with_unmock
.each_call(matching!(42))
.applies_unmocked(),
);

let answer = test.with_unmock(42).await;

Expand Down

0 comments on commit cdee4cd

Please sign in to comment.