Skip to content

Commit 9f7a8c0

Browse files
committed
Use the static field from MDLV2000Writer
1 parent 0e050fe commit 9f7a8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/ctab/src/test/java/org/openscience/cdk/io/MDLV3000WriterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ public void writeCustomTitle() throws Exception {
460460
StringWriter sw = new StringWriter();
461461
try (MDLV3000Writer mdlw = new MDLV3000Writer(sw)) {
462462
Properties sdfWriterProps = new Properties();
463-
sdfWriterProps.put("PorgramName", "FakeNews");
463+
sdfWriterProps.put(MDLV2000Writer.OptProgramName, "FakeNews");
464464
mdlw.addChemObjectIOListener(new PropertiesListener(sdfWriterProps));
465465
mdlw.customizeJob();
466466
mdlw.write(mol);

0 commit comments

Comments
 (0)