aboutsummaryrefslogtreecommitdiff
path: root/tests/functional
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-07 16:40:02 -0300
committerEuAndreh <eu@euandre.org>2024-10-07 16:41:25 -0300
commitc3a3cf9d7aed9b3c48acbe31fd48f2c27549a570 (patch)
tree9b1a6aa2cd911848ed15cc9841cb99855af88d09 /tests/functional
parentMakefile: Improve spacing (diff)
downloadgolite-c3a3cf9d7aed9b3c48acbe31fd48f2c27549a570.tar.gz
golite-c3a3cf9d7aed9b3c48acbe31fd48f2c27549a570.tar.xz
Rename golite -> acudego
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)