修改阻断问题
This commit is contained in:
parent
8c9f513b35
commit
f639d9d3e1
|
@ -50,10 +50,10 @@ public class AlphanumericComparatorTest {
|
|||
String str1 = unsortedStrings[i];
|
||||
String str2 = correctlySortedStrings[i];
|
||||
|
||||
if (str1!=null&&!(str1 == null && str2 == null) && !str1.equals(str2)) {
|
||||
|
||||
sortedCorrectly = false;
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
Assert.assertTrue(sortedCorrectly);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue