Browse Source

REPORT-94637 单测修复

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

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

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

Loading…
Cancel
Save