Skip to content

Commit cd4112c

Browse files
committed
iter
1 parent 83e44c3 commit cd4112c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/main/java/org/elasticsearch/test/AbstractXContentTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public void test() throws IOException {
154154
try {
155155
return toXContent.apply(instance, xContentType).utf8ToString().contains("\u0085");
156156
} catch (IOException e) {
157-
throw new RuntimeException(e);
157+
throw new AssertionError(e);
158158
}
159159
}, () -> instanceSupplier.apply(xContentType));
160160
} else {

0 commit comments

Comments
 (0)