Skip to content

Commit

Permalink
test: add a failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Manan Gupta <[email protected]>
  • Loading branch information
GuptaManan100 committed Nov 15, 2023
1 parent 024af93 commit 751606a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions go/test/endtoend/vtgate/foreignkey/fk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,13 @@ func TestFkQueries(t *testing.T) {
"insert into fk_multicol_t16 (id, cola, colb) values (1,1,1),(2,2,2)",
"update fk_multicol_t15 set cola = 3, colb = (id * 2) - 2",
},
}, {
name: "Update that sets to 0 and -0 values",
queries: []string{
"insert into fk_t15 (id, col) values (1,'-0'), (2, '0'), (3, '5'), (4, '-5')",
"insert into fk_t16 (id, col) values (1,'-0'), (2, '0'), (3, '5'), (4, '-5')",
"update fk_t15 set col = col * (col - (col))",
},
},
}

Expand Down

0 comments on commit 751606a

Please sign in to comment.