Skip to content

Commit

Permalink
Fix the last failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ancross333 committed Nov 27, 2023
1 parent 4884776 commit b1e89f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DiagramTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1e89f0

Please sign in to comment.