update test file raw_test.go

This commit is contained in:
rankgice 2024-09-30 20:05:52 +08:00
parent fa23822f68
commit 8e9c1358b5
1 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ func TestRawSelect(t *testing.T) {
},
{
"raw_test4",
`select * from users where name like "raw3" and age = @age`,
`select * from users where name like 'raw3' and age = @age`,
map[string]interface{}{
"age": 18,
},
@ -65,7 +65,7 @@ func TestRawSelect(t *testing.T) {
},
{
"raw_test5",
`select * from users where name like "@name" and age = @age`,
`select * from users where name like '@name' and age = @age`,
map[string]interface{}{
"age": 18,
},
@ -75,7 +75,7 @@ func TestRawSelect(t *testing.T) {
},
{
"raw_test6",
`select * from users where name like "@age" and age = @age`,
`select * from users where name like '@age' and age = @age`,
map[string]interface{}{
"age": 18,
},