event_parser: make id optional
Build and test / build (push) Waiting to run
Build and test / check (push) Waiting to run
Build and test / test (push) Waiting to run
Build and test / docs (push) Waiting to run

This commit is contained in:
2024-12-15 15:31:01 +01:00
parent 00cae63272
commit e3297bef15
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ async fn test_observe_event_successful() {
assert_eq!(
event,
Event::PropertyChange {
id: 1,
id: Some(1),
name: "volume".to_string(),
data: Some(MpvDataType::Double(64.0))
}