We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e44c3 commit cd4112cCopy full SHA for cd4112c
test/framework/src/main/java/org/elasticsearch/test/AbstractXContentTestCase.java
@@ -154,7 +154,7 @@ public void test() throws IOException {
154
try {
155
return toXContent.apply(instance, xContentType).utf8ToString().contains("\u0085");
156
} catch (IOException e) {
157
- throw new RuntimeException(e);
+ throw new AssertionError(e);
158
}
159
}, () -> instanceSupplier.apply(xContentType));
160
} else {
0 commit comments