diff options
| -rw-r--r-- | libs/binder/rust/src/parcel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/rust/src/parcel.rs b/libs/binder/rust/src/parcel.rs index a3f7620474..a0e991c9fd 100644 --- a/libs/binder/rust/src/parcel.rs +++ b/libs/binder/rust/src/parcel.rs @@ -493,7 +493,7 @@ fn test_read_data() { assert_eq!(parcel.read::<i32>().unwrap(), 15); let start = parcel.get_data_position(); - assert_eq!(parcel.read::<bool>().unwrap(), true); + assert!(parcel.read::<bool>().unwrap()); unsafe { assert!(parcel.set_data_position(start).is_ok()); |