Skip to content

Commit 7876fd6

Browse files
committed
update test case about replaceColName
1 parent 2290883 commit 7876fd6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/com/xxdb/data/BasicTableTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2530,7 +2530,7 @@ public void Test_BasicTable_replaceColName_originalName_null_1() throws Exceptio
25302530
}catch(Exception e){
25312531
re = e.getMessage();
25322532
}
2533-
assertEquals("The param originalColName '' does not exist in table.",re);
2533+
assertEquals("The param 'originalColName' or 'newColName' cannot be null or empty.",re);
25342534
}
25352535
@Test
25362536
public void Test_BasicTable_replaceColName_originalName_not_exist() throws Exception {
@@ -2556,7 +2556,7 @@ public void Test_BasicTable_replaceColName_newColName_null() throws Exception {
25562556
}catch(Exception e){
25572557
re = e.getMessage();
25582558
}
2559-
assertEquals("The param 'newColName' cannot be null or empty.",re);
2559+
assertEquals("The param 'originalColName' or 'newColName' cannot be null or empty.",re);
25602560
}
25612561
@Test
25622562
public void Test_BasicTable_replaceColName_newColName_null_1() throws Exception {
@@ -2569,7 +2569,7 @@ public void Test_BasicTable_replaceColName_newColName_null_1() throws Exception
25692569
}catch(Exception e){
25702570
re = e.getMessage();
25712571
}
2572-
assertEquals("The param 'newColName' cannot be null or empty.",re);
2572+
assertEquals("The param 'originalColName' or 'newColName' cannot be null or empty.",re);
25732573
}
25742574
@Test
25752575
public void Test_BasicTable_replaceColName_newColName_same() throws Exception {

0 commit comments

Comments
 (0)