You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
loop/loopdb/test_sqlite.go

18 lines
285 B
Go

//go:build !test_db_postgres
// +build !test_db_postgres
package loopdb
import (
"testing"
)
var (
testDBType = "sqlite"
)
// NewTestDB is a helper function that creates an SQLite database for testing.
func NewTestDB(t *testing.T) *SqliteSwapStore {
return NewTestSqliteDB(t)
}