summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ioana Alexandru <aioana@google.com> 2025-01-03 11:21:47 +0100
committer Ioana Alexandru <aioana@google.com> 2025-01-03 17:04:04 +0100
commit9bebaa5c18373453fb3718b6cdda16cc845fb5cf (patch)
tree957807fbd89f705b0c389ef07184f3dfbe7e8b9b /libs/androidfw/StringPool.cpp
parentc92d93f83cc6b87e884ec7ee2875845e5ede5676 (diff)
Use hasSize instead of size.isEqual
This will print out the list on failure, offering more information for diagnostic. The tiles_stableWhileCollecting test fails less than 1% of the time in CI with an unexpected number of tiles. Since I can't reproduce the flake, let's at least add a bit more information to the error message for the next time it happens. Bug: 387159145 Test: ran test with a different expected value to check the error message Flag: TEST_ONLY Change-Id: I8e4e74eeadea02d7bcd88b738cb6f3c6aff60333
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions