Fix failed test case for BatteryInfoTest
Test: atest SettingsRoboTests:BatteryInfoTest Change-Id: Ia83af3a7075ee80b27345ca74d02a2d94b88a51d
This commit is contained in:
@@ -125,7 +125,7 @@ public class BatteryInfoTest {
|
||||
BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast,
|
||||
mBatteryUsageStats, SystemClock.elapsedRealtime() * 1000, false /* shortString */);
|
||||
|
||||
assertThat(info.chargeLabel.toString()).isEqualTo(STATUS_CHARGING_NO_TIME);
|
||||
assertThat(info.chargeLabel.toString()).ignoringCase().isEqualTo(STATUS_CHARGING_NO_TIME);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user