Commit a1df9888 authored by Ola Leifler's avatar Ola Leifler
Browse files

Reversed order of parameters to fix test

parent c881a632
......@@ -136,7 +136,7 @@ public class PathfindingTest extends FreeColTestCase {
assertNotNull(path);
assertEquals("Composed-OR GoalDecider should find natives", nativeTile,
path.getLastNode().getTile());
gd = GoalDeciders.getComposedGoalDecider(false, nativeGD, colonyGD);
gd = GoalDeciders.getComposedGoalDecider(false, colonyGD, nativeGD);
path = unit.search(unitTile, gd, null, 1, null);
assertNotNull(path);
assertEquals("Composed-OR GoalDecider should find colony", colonyTile,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment