Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 89f7959d authored by William Escande's avatar William Escande
Browse files

Truth: better size list assertion

regex for replacement:
's/\(assertThat(.*\)\.size()).isEqualTo(/\1).hasSize(/'

+ a quick search for `hasSize(0)` to replace with 1isEmpty()`
+ a revert of all sparseArray.size that truth doesn't consider as iterable

Test: atest BluetoothInstrumentationTests
Flag: TEST_ONLY
Bug: 311772251
Change-Id: I80890989d395d220bbb0054f297280b3b4c2ed01
parent dfd30241
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment