1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Fixed inappropriate reference comparison. Should be a deep comparison (using equals method).

This commit is contained in:
John Cortell 2010-03-31 20:00:58 +00:00
parent 8b280845e4
commit 983dc28f18

View file

@ -1655,7 +1655,7 @@ public class MIBreakpointsTest extends BaseTestCase {
+ remaining_breakpoints.length, remaining_breakpoints.length == breakpoints_left);
for (int j = 0; j < breakpoints_left; j++) {
assertTrue("BreakpointService problem: removed breakpoint still present (" + index + ")",
remaining_breakpoints[j] != index);
!remaining_breakpoints[j].equals(index));
}
}
clearEventCounters();