fixed tests after migration to new platform.

This commit is contained in:
bitwave 2013-05-25 15:21:02 +02:00
parent 777a62d2f6
commit c85e6e4977
2 changed files with 2 additions and 4 deletions

View File

@ -22,8 +22,7 @@ public class ArrangeXGoalTest {
try {
new ArrangeXGoal(0);
} catch (PreConditionException e) {
assertEquals(
"Precondition failed: The margin must not be 0 because it is used to determine orientation.",
assertEquals("The margin must not be 0 because it is used to determine orientation.",
e.getMessage());
}
}

View File

@ -18,8 +18,7 @@ public class ArrangeYGoalTest {
try {
new ArrangeYGoal(0);
} catch (PreConditionException e) {
assertEquals(
"Precondition failed: The margin must not be 0 because it is used to determine orientation.",
assertEquals("The margin must not be 0 because it is used to determine orientation.",
e.getMessage());
}
}