Skip to content

Commit eea76ec

Browse files
committed
Add a regression test.
1 parent c14e907 commit eea76ec

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
public class AssertionIssue {
2+
3+
public static void throwAssertion() {
4+
throw new AssertionError("Something went terribly wrong.", new ThrowableAssertion());
5+
}
6+
7+
public static class ThrowableAssertion extends Throwable {
8+
@Override
9+
public String getMessage() {
10+
return "How did we get here?";
11+
}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
AssertionIssue.class
3+
--function AssertionIssue.throwAssertion
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
^VERIFICATION SUCCESSFUL$
7+
--
8+
^warning: ignoring

0 commit comments

Comments
 (0)