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

Commit 025ec2ba authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Settings: Fix assertThat in test

Truth.assertThat is a fluent-style API. Fix the tests to actually
do something.

Found by errorprone.

Bug: 73513670
Test: m RunSettingsRoboTests
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: I032f6741ac0c728781a9d22ab6158e7b74a30167
parent 8378efc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ public class BluetoothPairingDialogTest {

        // check that showSoftInput was called to make input method appear when the dialog was shown
        assertThat(view.isFocused()).isTrue();
        assertThat(imm.isActive());
        assertThat(imm.isActive()).isTrue();
        verify(imm).showSoftInput(view, InputMethodManager.SHOW_IMPLICIT);
    }