Skip to content

Commit c0710ba

Browse files
committed
test: test with more values
Signed-off-by: Andres Taylor <andres@planetscale.com>
1 parent 61c0b64 commit c0710ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/test/endtoend/vtgate/queries/misc/misc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ func TestCast(t *testing.T) {
135135
func TestSetAndGetLastInsertID(t *testing.T) {
136136
notZero := 1
137137
checkQuery := func(i string, workload string, tx bool, mcmp utils.MySQLCompare) {
138-
for _, val := range []int{0, notZero} {
138+
for _, val := range []int{notZero, 0, notZero * 2} {
139139
query := fmt.Sprintf(i, val)
140140
name := fmt.Sprintf("%s - %s", workload, query)
141141
if tx {

0 commit comments

Comments
 (0)