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:
parent
8b280845e4
commit
983dc28f18
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue