Two failing doctests fixed
This commit is contained in:
parent
42fdf15d22
commit
0775fb4a56
2 changed files with 3 additions and 3 deletions
|
|
@ -99,8 +99,8 @@ public class GraphDSLDocTest extends AbstractJavaTest {
|
|||
// unconnected zip.out (!) => "The inlets [] and outlets [] must correspond to the inlets [] and outlets [ZipWith2.out]"
|
||||
//#simple-graph
|
||||
org.junit.Assert.fail("expected IllegalArgumentException");
|
||||
} catch (IllegalArgumentException e) {
|
||||
assertTrue(e != null && e.getMessage() != null && e.getMessage().contains("must correspond to"));
|
||||
} catch (IllegalStateException e) {
|
||||
assertTrue(e != null && e.getMessage() != null && e.getMessage().contains("ZipWith2.out"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue