Skip to content

Commit

Permalink
Tune test
Browse files Browse the repository at this point in the history
  • Loading branch information
max-kammerer committed Nov 6, 2023
1 parent db08f52 commit 836ece1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ class AHackTest : BaseTest() {
e.message,
e is RuntimeException && e.message?.contains("Permission denied") == true
)
return
} else {
e.printStackTrace()
Assert.fail(e.message)
}
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
Assert.fail("Shouldn't be called")
}
}

}

0 comments on commit 836ece1

Please sign in to comment.