Browse Source

REPORT-94637 单测修复

newui
Levy.Xie 2 years ago
parent
commit
d545ba2b7d
  1. 4
      designer-base/src/test/java/com/fr/design/formula/FormulaPaneTest.java

4
designer-base/src/test/java/com/fr/design/formula/FormulaPaneTest.java

@ -16,8 +16,8 @@ public class FormulaPaneTest extends TestCase {
@Test
public void testSimilarComparator() {
String[] strs = new String[] {"ScriptEval", "SPLIT", "SUMPRECISE"};
String[] result = new String[] {"SPLIT", "SUMPRECISE", "ScriptEval",};
String[] strs = new String[]{"ScriptEval", "SPLIT", "SUMPRECISE"};
String[] result = new String[]{"SPLIT", "SUMPRECISE", "ScriptEval"};
Arrays.sort(strs, new FormulaPane.SimilarComparator("sp"));
Assert.assertArrayEquals(result, strs);
}

Loading…
Cancel
Save