File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ func TestWithSqlite3(t *testing.T) {
2929 Level string
3030 Msg string
3131 Query string
32- Args []any
32+ Args []interface {}
3333 Duration float64
3434 Error string
3535 }
@@ -44,7 +44,7 @@ func TestWithSqlite3(t *testing.T) {
4444 tests := []struct {
4545 name string
4646 query string
47- args []any
47+ args []interface {}
4848 level string
4949 msg string
5050 error string
@@ -58,7 +58,7 @@ func TestWithSqlite3(t *testing.T) {
5858 {
5959 name : "INSERT" ,
6060 query : "INSERT INTO users (name, age) VALUES (?, ?)" ,
61- args : []any {"alice" , float64 (20 )},
61+ args : []interface {} {"alice" , float64 (20 )},
6262 level : "INFO" ,
6363 msg : "ExecContext" ,
6464 },
@@ -72,7 +72,7 @@ func TestWithSqlite3(t *testing.T) {
7272 {
7373 name : "unique constraint" ,
7474 query : "INSERT INTO users (name, age) VALUES (?, ?)" ,
75- args : []any {"alice" , float64 (40 )},
75+ args : []interface {} {"alice" , float64 (40 )},
7676 level : "ERROR" ,
7777 msg : "ExecContext" ,
7878 error : "UNIQUE constraint failed" ,
You can’t perform that action at this time.
0 commit comments