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

Commit 992514d9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the broken test on com.android.settingslib.utils.PowerUtilTest" into tm-dev

parents 92553f3c 75a6e70a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -122,9 +122,9 @@ public class PowerUtilTest {
                true /* basedOnUsage */);

        // additional battery percentage in this string
        assertThat(info).isEqualTo("Phone may shut down soon (10%)");
        assertThat(info.contains("may shut down soon (10%)")).isTrue();
        // shortened string should not have percentage
        assertThat(info2).isEqualTo("Phone may shut down soon");
        assertThat(info2.contains("may shut down soon")).isTrue();
    }

    @Test