Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31b77e72 authored by Tobias Thierer's avatar Tobias Thierer Committed by Android (Google) Code Review
Browse files

Merge "HexDumpTest: Fix assertion."

parents b2ca3c24 6bf181df
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -160,8 +160,9 @@ public final class HexDumpTest extends TestCase {
    private static void assertThrows(Class<? extends RuntimeException> clazz, Runnable runnable) {
        try {
            runnable.run();
        } catch (RuntimeException exception) {
            assertEquals(toStrackTrace(exception), clazz, exception.getClass());
            fail();
        } catch (RuntimeException expected) {
            assertEquals(toStrackTrace(expected), clazz, expected.getClass());
        }
    }