From a1df98888943515bdd12845d9126b526980309da Mon Sep 17 00:00:00 2001 From: Ola Leifler <ola.leifler@liu.se> Date: Thu, 15 Jun 2017 09:01:24 +0200 Subject: [PATCH] Reversed order of parameters to fix test --- test/src/net/sf/freecol/common/model/PathfindingTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/net/sf/freecol/common/model/PathfindingTest.java b/test/src/net/sf/freecol/common/model/PathfindingTest.java index 262dc17..1c2dedd 100644 --- a/test/src/net/sf/freecol/common/model/PathfindingTest.java +++ b/test/src/net/sf/freecol/common/model/PathfindingTest.java @@ -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, -- GitLab