Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
Add inline keyword for the function withCanceledIntents
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Piveteau <[email protected]>
  • Loading branch information
KurohanaJuri and alexandrepiveteau authored Apr 22, 2022
1 parent 6b237fa commit 20d1367
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import androidx.test.espresso.intent.matcher.IntentMatchers
*
* @param block the block of code to execute.
*/
fun withCanceledIntents(block: () -> Unit) {
inline fun withCanceledIntents(block: () -> Unit) {
try {
Intents.init()
Intents.intending(IntentMatchers.anyIntent())
Expand Down

0 comments on commit 20d1367

Please sign in to comment.