mirror of https://github.com/eitch/first-wave.git
fixed tests after migration to new platform.
This commit is contained in:
parent
777a62d2f6
commit
c85e6e4977
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue