mirror of https://github.com/apache/lucene.git
LUCENE-6795: remove assert that is no longer allowed with jigsaw
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702152 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0f799cdf59
commit
bccd5b7d46
|
@ -53,8 +53,6 @@ public class TestFilesystemResourceLoader extends LuceneTestCase {
|
||||||
// try to load a class; we use string comparison because classloader may be different...
|
// try to load a class; we use string comparison because classloader may be different...
|
||||||
assertEquals("org.apache.lucene.analysis.util.RollingCharBuffer",
|
assertEquals("org.apache.lucene.analysis.util.RollingCharBuffer",
|
||||||
rl.newInstance("org.apache.lucene.analysis.util.RollingCharBuffer", Object.class).getClass().getName());
|
rl.newInstance("org.apache.lucene.analysis.util.RollingCharBuffer", Object.class).getClass().getName());
|
||||||
// theoretically classes should also be loadable:
|
|
||||||
IOUtils.closeWhileHandlingException(rl.openResource("java/lang/String.class"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testBaseDir() throws Exception {
|
public void testBaseDir() throws Exception {
|
||||||
|
|
Loading…
Reference in New Issue