From 40a86559c38782748780dd0920ebe1dd4b7a8c81 Mon Sep 17 00:00:00 2001 From: Alistair Delva Date: Sun, 3 May 2020 20:08:26 -0700 Subject: [PATCH] Fix argument order in api level test Looks like the arguments were unintentionally swapped? Bug: 155526611 Change-Id: I39d49f94387cfd337c89becb5eb6f85ca638bef1 Merged-In: I39d49f94387cfd337c89becb5eb6f85ca638bef1 Signed-off-by: Alistair Delva (cherry picked from commit bed98c0deb429dca7947d6b0190ff62cc92f2608) --- tests/android_get_device_api_level.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/android_get_device_api_level.cpp b/tests/android_get_device_api_level.cpp index 066240456..9bd6b3af9 100644 --- a/tests/android_get_device_api_level.cpp +++ b/tests/android_get_device_api_level.cpp @@ -35,6 +35,6 @@ TEST(android_get_device_api_level, smoke) { #if __BIONIC__ // This will fail if you run the tests on an old device, but who does that? - ASSERT_GE(29, android_get_device_api_level()); + ASSERT_GE(android_get_device_api_level(), 29); #endif }