aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Delva <adelva@google.com>2020-05-03 20:08:26 -0700
committerAnton Hansson <hansson@google.com>2020-05-04 12:11:37 +0100
commit40a86559c38782748780dd0920ebe1dd4b7a8c81 (patch)
tree07283922e16fcc45f38992f6c1fe0de699020a9f
parent524510bc5c9fedec1c97925d6bb27ebee6bf2e10 (diff)
downloadbionic-40a86559c38782748780dd0920ebe1dd4b7a8c81.tar.gz
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)
-rw-r--r--tests/android_get_device_api_level.cpp2
1 files changed, 1 insertions, 1 deletions
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
}