aboutsummaryrefslogtreecommitdiff
path: root/tests/functional
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/json.go4
-rw-r--r--tests/functional/libbuild.go4
-rw-r--r--tests/functional/limit.go12
3 files changed, 10 insertions, 10 deletions
diff --git a/tests/functional/json.go b/tests/functional/json.go
index 6a1ae81..352a72c 100644
--- a/tests/functional/json.go
+++ b/tests/functional/json.go
@@ -8,7 +8,7 @@ import (
"log"
"os"
- _ "golite"
+ _ "acudego"
)
type Tag struct {
@@ -29,7 +29,7 @@ func main() {
os.Remove("json.db")
defer os.Remove("json.db")
- db, err := sql.Open("golite", "json.db")
+ db, err := sql.Open("acudego", "json.db")
if err != nil {
log.Fatal(err)
}
diff --git a/tests/functional/libbuild.go b/tests/functional/libbuild.go
index 1b7694e..860aff9 100644
--- a/tests/functional/libbuild.go
+++ b/tests/functional/libbuild.go
@@ -3,11 +3,11 @@ package main
import (
"database/sql"
- _ "golite"
+ _ "acudego"
)
func main() {
- db, err := sql.Open("golite", ":memory:")
+ db, err := sql.Open("acudego", ":memory:")
if err != nil {
panic(err)
}
diff --git a/tests/functional/limit.go b/tests/functional/limit.go
index 8c65a25..ab726f6 100644
--- a/tests/functional/limit.go
+++ b/tests/functional/limit.go
@@ -7,7 +7,7 @@ import (
"os"
"strings"
- "golite"
+ "acudego"
)
func createBulkInsertQuery(n int, start int) (string, []any) {
@@ -49,9 +49,9 @@ func main() {
delete from mylimittable;
`
- var conn *golite.SQLiteConn
- sql.Register("sqlite3_with_limit", &golite.SQLiteDriver{
- ConnectHook: func(c *golite.SQLiteConn) error {
+ var conn *acudego.SQLiteConn
+ sql.Register("sqlite3_with_limit", &acudego.SQLiteDriver{
+ ConnectHook: func(c *acudego.SQLiteConn) error {
conn = c
return nil
},
@@ -82,7 +82,7 @@ func main() {
}
}
- conn.SetLimit(golite.SQLITE_LIMIT_VARIABLE_NUMBER, smallLimit)
+ conn.SetLimit(acudego.SQLITE_LIMIT_VARIABLE_NUMBER, smallLimit)
{
query, args := createBulkInsertQuery(num, num)
err := bulkInsert(db, query, args)
@@ -91,7 +91,7 @@ func main() {
}
}
- conn.SetLimit(golite.SQLITE_LIMIT_VARIABLE_NUMBER, bigLimit)
+ conn.SetLimit(acudego.SQLITE_LIMIT_VARIABLE_NUMBER, bigLimit)
{
query, args := createBulkInsertQuery(500, num+num)
err := bulkInsert(db, query, args)