diff --git a/sqlite3_opt_math_functions_test.go b/sqlite3_opt_math_functions_test.go index ef5d30ff..6d9e8ef1 100644 --- a/sqlite3_opt_math_functions_test.go +++ b/sqlite3_opt_math_functions_test.go @@ -21,7 +21,7 @@ func TestMathFunctions(t *testing.T) { } for _, query := range queries { - if _, err := db.Exec(query); err != nil { + if _, err := db.Query(query); err != nil { t.Fatal("Failed to call math function:", err) } }