Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
funky-eyes committed Feb 20, 2024
1 parent 65545b5 commit cabc4bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import io.seata.sqlparser.SQLUpdateRecognizer;
import io.seata.common.exception.NotSupportYetException;
import io.seata.common.exception.ShouldNeverHappenException;
import io.seata.sqlparser.util.ColumnUtils;

/**
* The type My sql update recognizer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ public void updateRecognizerTest_2() {

MySQLUpdateRecognizer mySQLUpdateRecognizer = new MySQLUpdateRecognizer(sql, statement);
List<String> updateColumns = mySQLUpdateRecognizer.getUpdateColumns();
List<String> whereColumns = mySQLUpdateRecognizer.getWhereColumns();
List<Object> updateValues = mySQLUpdateRecognizer.getUpdateValues();
Assertions.assertEquals("id", whereColumns.get(0));
Assertions.assertEquals(sql, mySQLUpdateRecognizer.getOriginalSQL());
Assertions.assertEquals("t1", mySQLUpdateRecognizer.getTableName());
Assertions.assertEquals(2, updateColumns.size());
Expand Down

0 comments on commit cabc4bb

Please sign in to comment.