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
This commit is contained in:
Andreas Gampe
2018-02-26 11:28:21 -08:00
parent 8378efc6af
commit 025ec2ba58

View File

@@ -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);
}