Skip to content

Commit 6316a00

Browse files
johnmayegonw
authored andcommitted
Relocate required file from testdata to where it is needed.
1 parent 28261de commit 6316a00

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tool/structgen/src/test/java/org/openscience/cdk/structgen/stochastic/operator/CrossoverMachineTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ public class CrossoverMachineTest extends CDKTestCase {
4444

4545
@Test
4646
public void testdoCrossover_IAtomContainer() throws Exception {
47-
String filename = "data/smiles/c10h16isomers.smi";
48-
InputStream ins = this.getClass().getClassLoader().getResourceAsStream(filename);
47+
String filename = "c10h16isomers.smi";
48+
InputStream ins = this.getClass().getResourceAsStream(filename);
4949
SMILESReader reader = new SMILESReader(ins);
5050
IAtomContainerSet som = reader.read(new AtomContainerSet());
5151
Assert.assertEquals("We must have read 99 structures", 99, som.getAtomContainerCount());

0 commit comments

Comments
 (0)