Skip to content

Commit

Permalink
update test fn name
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyq101 committed Oct 17, 2024
1 parent bdae111 commit eb949f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ func AssertParseExprError(tb testing.TB, s string, want string) {
}
}

func TestSql_1(t *testing.T) {
func TestSql_support_values_call(t *testing.T) {
sql := "INSERT INTO `daily_asset` (`trade_date`,`fund_account`,`client_id`,`day_income`,`hold_income`,`acc_income`,`day_income_ratio`,`acc_income_sw_ratio`,`acc_income_nav_ratio`,`market_value`,`fund_asset`,`total_asset`,`sw_total_net`,`bank_transfer_in`,`bank_transfer_out`,`acc_bank_transfer_in`,`acc_bank_transfer_out`,`net_in_balance`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ON DUPLICATE KEY UPDATE `fund_asset`=VALUES(`fund_asset`),`hold_income`=VALUES(`hold_income`),`market_value`=VALUES(`market_value`),`total_asset`=VALUES(`total_asset`),`bank_transfer_in`=VALUES(`bank_transfer_in`),`bank_transfer_out`=VALUES(`bank_transfer_out`),`net_in_balance`=VALUES(`net_in_balance`)"
stmt, err := sqlparser.NewParser(strings.NewReader(sql)).ParseStatement()
if err != nil {
Expand Down

0 comments on commit eb949f7

Please sign in to comment.