commit | 40a86559c38782748780dd0920ebe1dd4b7a8c81 | [log] [tgz] |
---|---|---|
author | Alistair Delva <adelva@google.com> | Sun May 03 20:08:26 2020 -0700 |
committer | Anton Hansson <hansson@google.com> | Mon May 04 12:11:37 2020 +0100 |
tree | 07283922e16fcc45f38992f6c1fe0de699020a9f | |
parent | 524510bc5c9fedec1c97925d6bb27ebee6bf2e10 [diff] [blame] |
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 <adelva@google.com> (cherry picked from commit bed98c0deb429dca7947d6b0190ff62cc92f2608)
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 }