Skip to content

Commit 2e7737a

Browse files
committed
tests(nitpick): standardize comment casing to match the rest of the test names
1 parent 1416d96 commit 2e7737a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/test/java/org/kabiri/android/usbterminal/viewmodel/MainActivityViewModelTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,17 @@ internal class MainActivityViewModelTest {
7878

7979
@Test
8080
fun `startObservingUsbDevice does not call openDeviceAndPort when device is null`() = runTest {
81-
// Arrange
81+
// arrange
8282
val expected = null
8383
val deviceFlow = MutableStateFlow<UsbDevice?>(expected)
8484
every { mockUsbUseCase.usbDevice } returns deviceFlow
8585

86-
// Act
86+
// act
8787
sut.startObservingUsbDevice()
8888
deviceFlow.value = expected
8989
advanceUntilIdle()
9090

91-
// Assert
91+
// assert
9292
verify(exactly = 0) { mockArduinoUsecase.openDeviceAndPort(any()) }
9393
assertThat(sut.infoMessage.value).contains(expected.toString())
9494
}

0 commit comments

Comments
 (0)