diff options
author | Janis Danisevskis <jdanis@google.com> | 2022-03-21 19:35:56 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-03-21 19:35:56 +0000 |
commit | dc9427a27a9f62f5c0823d0e8ae564c7ae76a418 (patch) | |
tree | 91afa88b6450b9f97966b0981ebcfc3d264900f7 | |
parent | 792b154128b773efae04b0395413bf0752a7a2b8 (diff) | |
parent | c6194325ad07cdc063fb5545907a5c9b2bc5eff3 (diff) | |
download | teeui-dc9427a27a9f62f5c0823d0e8ae564c7ae76a418.tar.gz |
Fix ErrorOperatorOrOverloadTest am: 4bd493d609 am: c6194325ad
Original change: https://android-review.googlesource.com/c/platform/system/teeui/+/2030843
Change-Id: I28acaa356d2f77951cbea8ca577f8be0faa23154
-rw-r--r-- | test/teeui_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/teeui_test.cpp b/test/teeui_test.cpp index 47a8515..e786db2 100644 --- a/test/teeui_test.cpp +++ b/test/teeui_test.cpp @@ -206,8 +206,8 @@ TEST(TeeUIUtilsTest, ConvexObjectLineIntersection) { TEST(TeeUIUtilsTest, ErrorOperatorOrOverloadTest) { // This expression should evaluate to the first (non OK) error code in the sequence. - ASSERT_EQ(Error::NotInitialized, - Error::OK || Error::NotInitialized || Error::FaceNotLoaded || Error::OK); + ASSERT_EQ(Error(Error::NotInitialized), Error(Error::OK) || Error(Error::NotInitialized) || + Error(Error::FaceNotLoaded) || Error(Error::OK)); } } // namespace test |