File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
storage/inchi/src/test/java/org/openscience/cdk/inchi Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2222import static org .hamcrest .CoreMatchers .containsString ;
2323import static org .hamcrest .CoreMatchers .is ;
2424import static org .hamcrest .MatcherAssert .assertThat ;
25+ import static org .hamcrest .Matchers .anyOf ;
2526
2627import java .util .ArrayList ;
2728import java .util .Arrays ;
@@ -905,7 +906,8 @@ public void timeout() throws Exception {
905906 InChIGenerator generator = inchiFact .getInChIGenerator (mol , "W0.01" );
906907 assertThat (generator .getReturnStatus (), is (INCHI_RET .ERROR ));
907908 assertThat (generator .getMessage (),
908- containsString ("Time limit exceeded" ));
909+ anyOf (containsString ("Time limit exceeded" ),
910+ containsString ("Structure normalization timeout" )));
909911 }
910912
911913 /**
You can’t perform that action at this time.
0 commit comments