diff --git a/tests/DiagramTests.java b/tests/DiagramTests.java index d82e2bd..366eb8d 100644 --- a/tests/DiagramTests.java +++ b/tests/DiagramTests.java @@ -103,7 +103,7 @@ void testAddClass() { assertEquals(c.getClassName(), UMLDiagram.getClassList().get(c.getClassName()).getClassName()); UMLDiagram.addClass("testClass"); - assertEquals("Class already exists.\r\n", outContent.toString()); + assertEquals("Class already exists.\n", outContent.toString().replace("\r\n", "\n")); } @Test