requery / sqlite-android

Android SQLite support library
Apache License 2.0
1.05k stars 138 forks source link

Fix cursor window size test to check for failure correctly #162

Closed ebraminio closed 1 year ago

ebraminio commented 1 year ago

Currently the test always fails and as AssertionError isn't inherited from Exception current mechanism to catch the failure gracefully is broken itself so this fixes it by using JUnit 4's @Test(expected = AssertionError.class).

npurushe commented 1 year ago

thanks for the fix!