Fix argument order in api level test
Looks like the arguments were unintentionally swapped?
Bug: 155526611
Change-Id: I39d49f94387cfd337c89becb5eb6f85ca638bef1
Signed-off-by: Alistair Delva <adelva@google.com>
diff --git a/tests/android_get_device_api_level.cpp b/tests/android_get_device_api_level.cpp
index 0662404..9bd6b3a 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
}