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 374d8c7 commit c6cf1dfCopy full SHA for c6cf1df
crates/buttplug_tests/tests/test_client.rs
@@ -141,6 +141,10 @@ async fn test_client_scanning_finished() {
141
let (client, _) = test_client_with_device().await;
142
let mut recv = client.event_stream();
143
assert!(client.start_scanning().await.is_ok());
144
+ assert!(matches!(
145
+ recv.next().await.expect("Test, assuming infallible."),
146
+ ButtplugClientEvent::DeviceListReceived
147
+ ));
148
assert!(matches!(
149
recv.next().await.expect("Test, assuming infallible."),
150
ButtplugClientEvent::ScanningFinished
0 commit comments