mirror of https://github.com/mattn/go-sqlite3.git
use named field
This commit is contained in:
parent
acf4ae4429
commit
2fc807f668
|
@ -32,19 +32,19 @@ var db *DB
|
||||||
var testTables = []string{"foo", "bar", "t", "bench"}
|
var testTables = []string{"foo", "bar", "t", "bench"}
|
||||||
|
|
||||||
var tests = []testing.InternalTest{
|
var tests = []testing.InternalTest{
|
||||||
{"TestBlobs", TestBlobs},
|
{Name: "TestBlobs", F: TestBlobs},
|
||||||
{"TestManyQueryRow", TestManyQueryRow},
|
{Name: "TestManyQueryRow", F: TestManyQueryRow},
|
||||||
{"TestTxQuery", TestTxQuery},
|
{Name: "TestTxQuery", F: TestTxQuery},
|
||||||
{"TestPreparedStmt", TestPreparedStmt},
|
{Name: "TestPreparedStmt", F: TestPreparedStmt},
|
||||||
}
|
}
|
||||||
|
|
||||||
var benchmarks = []testing.InternalBenchmark{
|
var benchmarks = []testing.InternalBenchmark{
|
||||||
{"BenchmarkExec", BenchmarkExec},
|
{Name: "BenchmarkExec", F: BenchmarkExec},
|
||||||
{"BenchmarkQuery", BenchmarkQuery},
|
{Name: "BenchmarkQuery", F: BenchmarkQuery},
|
||||||
{"BenchmarkParams", BenchmarkParams},
|
{Name: "BenchmarkParams", F: BenchmarkParams},
|
||||||
{"BenchmarkStmt", BenchmarkStmt},
|
{Name: "BenchmarkStmt", F: BenchmarkStmt},
|
||||||
{"BenchmarkRows", BenchmarkRows},
|
{Name: "BenchmarkRows", F: BenchmarkRows},
|
||||||
{"BenchmarkStmtRows", BenchmarkStmtRows},
|
{Name: "BenchmarkStmtRows", F: BenchmarkStmtRows},
|
||||||
}
|
}
|
||||||
|
|
||||||
// RunTests runs the SQL test suite
|
// RunTests runs the SQL test suite
|
||||||
|
|
Loading…
Reference in New Issue