diff --git a/core/test/net/sf/openrocket/simulation/FlightEventsTest.java b/core/test/net/sf/openrocket/simulation/FlightEventsTest.java index 1069d67f5..74f573b98 100644 --- a/core/test/net/sf/openrocket/simulation/FlightEventsTest.java +++ b/core/test/net/sf/openrocket/simulation/FlightEventsTest.java @@ -74,7 +74,7 @@ public class FlightEventsTest extends BaseTestCase { // Test that the event sources are correct for (int i = 0; i < expectedSources.length; i++) { - assertSame(" Flight type " + expectedEventTypes[i] + " has wrong source", + assertEquals(" Flight type " + expectedEventTypes[i] + " has wrong source", expectedSources[i], eventList.get(i).getSource()); } } @@ -149,7 +149,7 @@ public class FlightEventsTest extends BaseTestCase { // Test that the event sources are correct for (int i = 0; i < expectedSources.length; i++) { - assertSame(" Flight type " + expectedEventTypes[i] + " has wrong source", + assertEquals(" Flight type " + expectedEventTypes[i] + " has wrong source", expectedSources[i], eventList.get(i).getSource()); } }