Skip to content

Commit ee4af91

Browse files
committed
assert
1 parent 0a013ea commit ee4af91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/framework/src/main/java/org/elasticsearch/index/mapper/BlockLoaderTestRunner.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
import static org.apache.lucene.tests.util.LuceneTestCase.newDirectory;
3131
import static org.apache.lucene.tests.util.LuceneTestCase.random;
32+
import static org.hamcrest.MatcherAssert.assertThat;
3233
import static org.hamcrest.Matchers.equalTo;
33-
import static org.junit.Assert.assertThat;
3434

3535
public class BlockLoaderTestRunner {
3636
private final BlockLoaderTestCase.Params params;
@@ -101,6 +101,7 @@ private Object load(BlockLoader blockLoader, LeafReaderContext context, MapperSe
101101
blockLoader.rowStrideReader(context).read(0, storedFieldsLoader, builder);
102102
var block = (TestBlock) builder.build();
103103
assertThat(block.size(), equalTo(1));
104+
104105
return block.get(0);
105106
}
106107

0 commit comments

Comments
 (0)