summaryrefslogtreecommitdiff
path: root/runtime/hidden_api_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/hidden_api_test.cc')
-rw-r--r--runtime/hidden_api_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/hidden_api_test.cc b/runtime/hidden_api_test.cc
index 96a5822973..eff54bd861 100644
--- a/runtime/hidden_api_test.cc
+++ b/runtime/hidden_api_test.cc
@@ -201,7 +201,7 @@ class HiddenApiTest : public CommonRuntimeTest {
// that may run in parallel. b/238730923
const std::string_view suffix = ".jar";
const std::string_view placeholder = "XXXXXX"; // See `mkstemps()`.
- ASSERT_TRUE(EndsWith(location, suffix));
+ ASSERT_TRUE(location.ends_with(suffix));
std::unique_ptr<char[]> unique_location(new char[location.length() + placeholder.length() + 1]);
ASSERT_TRUE(unique_location != nullptr);
size_t stem_length = location.length() - suffix.length();