testVfsCacheConsistency: Error message is startsWith fails
When testing the FUSE passthrough patch set I noticed that
CtsScopedStorageCoreHostTest was failing at testVfsCacheConsistency, but
no error message was printed to help figuring out what was the actual
value and what expected.
Changing the startsWith assertions to print an error message in case of
failure that tells the evaluated string and the expected prefix.
Bug: 168023149
Test: CtsScopedStorageCoreHostTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I23a8a62c225fc5a9ba67014f545a2579f56d8d49
1 file changed