Skip to content

Commit 4570987

Browse files
committed
tests (nitpick): rename unused cached error to _
1 parent 1109bba commit 4570987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/androidTest/java/org/kabiri/android/usbterminal/MainActivityAndroidTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ internal class MainActivityAndroidTest {
2525
try {
2626
// Try to find the menu item first
2727
onView(withId(menuItemId)).check(matches(isDisplayed()))
28-
} catch (e: NoMatchingViewException) {
28+
} catch (_: NoMatchingViewException) {
2929
// If not found then open the overflow menu
3030
openActionBarOverflowOrOptionsMenu(
3131
InstrumentationRegistry.getInstrumentation().targetContext

0 commit comments

Comments
 (0)