Skip to content

Commit

Permalink
🚨 Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Bryant committed Nov 9, 2021
1 parent a5bddb4 commit f68aa6f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import com.ptrbrynt.kotlin_bloc.compose.blocs.CounterEvent
import com.ptrbrynt.kotlin_bloc.core.Bloc
import io.mockk.mockk
import io.mockk.verifyOrder
import java.io.PrintStream
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.annotation.Config
import org.robolectric.shadows.ShadowLog
import java.io.PrintStream

@RunWith(AndroidJUnit4::class)
@Config(shadows = [ShadowLog::class])
Expand Down
1 change: 0 additions & 1 deletion core/src/main/java/com/ptrbrynt/kotlin_bloc/core/Cubit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ abstract class Cubit<State, SideEffect>(initial: State) :
override suspend fun emitSideEffects(sideEffects: Flow<SideEffect>) {
sideEffects.onEach { emitSideEffect(it) }.launchIn(blocScope)
}

}
3 changes: 1 addition & 2 deletions test/src/main/java/com/ptrbrynt/kotlin_bloc/test/BlocTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ suspend fun <B : BlocBase<State, SideEffect>, State, SideEffect> testBloc(

setUp()


testStates(
build = build,
act = act,
Expand Down Expand Up @@ -127,4 +126,4 @@ private suspend fun <B : BlocBase<State, SideEffect>, State, SideEffect> testSid
}

bloc.verify()
}
}

0 comments on commit f68aa6f

Please sign in to comment.