diff options
author | Charisee <chiw@google.com> | 2022-02-26 01:22:27 +0000 |
---|---|---|
committer | Charisee Chiw <chiw@google.com> | 2022-02-28 21:41:36 +0000 |
commit | 1ccdc90508a1b69a99466ef737a560145c6b6be1 (patch) | |
tree | e1a2ac2147bceab07424e3c9774582de5bee667d | |
parent | beeff2d3fb900c045b2067740ba16fa95dbb7a01 (diff) | |
download | native-1ccdc90508a1b69a99466ef737a560145c6b6be1.tar.gz |
Changes for the Rust 1.59.0 update
bug: 215232614
Test: TreeHugger and compiling with m rust
Change-Id: I005a1ee1325401130814cc2e50518a237072ca60
-rw-r--r-- | libs/binder/rust/tests/integration.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/binder/rust/tests/integration.rs b/libs/binder/rust/tests/integration.rs index 7c5afde85c..c9d6af0d75 100644 --- a/libs/binder/rust/tests/integration.rs +++ b/libs/binder/rust/tests/integration.rs @@ -924,9 +924,9 @@ mod tests { BinderFeatures::default(), ); - assert!(!(service1 < service1)); - assert!(!(service1 > service1)); - assert_eq!(service1 < service2, !(service2 < service1)); + assert!((service1 >= service1)); + assert!((service1 <= service1)); + assert_eq!(service1 < service2, (service2 >= service1)); } #[test] |