We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e430c14 commit 0ee3fe2Copy full SHA for 0ee3fe2
src/builder.rs
@@ -1198,7 +1198,9 @@ mod tests {
1198
context.command(|commands| commands.request(input, workflow).take_response());
1199
1200
context.run_with_conditions(&mut promise, Duration::from_secs(2));
1201
- assert!(promise.take().available().is_some_and(|v| v == expectation));
+ assert!(Promise::take(&mut promise)
1202
+ .available()
1203
+ .is_some_and(|v| v == expectation));
1204
assert!(context.no_unhandled_errors());
1205
}
1206
0 commit comments