From 1731f612d8196733e852512081f146b04e11bc1e Mon Sep 17 00:00:00 2001 From: chirst Date: Wed, 31 Jul 2024 18:20:24 -0600 Subject: [PATCH] remove dupe test --- main_test.go | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 main_test.go diff --git a/main_test.go b/main_test.go deleted file mode 100644 index eeb57be..0000000 --- a/main_test.go +++ /dev/null @@ -1,25 +0,0 @@ -package main - -import ( - "testing" - - "github.com/chirst/cdb/db" -) - -func TestBulk(t *testing.T) { - d, _ := db.New(true, "") - r := d.Execute("CREATE TABLE test (id INTEGER PRIMARY KEY, junk TEXT)") - if r.Err != nil { - t.Fatal(r.Err) - } - for i := 0; i < 1000; i += 1 { - r = d.Execute("INSERT INTO test (junk) VALUES ('asdf')") - if r.Err != nil { - t.Fatal(r.Err) - } - } - r = d.Execute("SELECT * FROM test") - if r.Err != nil { - t.Fatal(r.Err) - } -}