mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-09-13 13:00:10 +00:00
15 lines
273 B
Go
15 lines
273 B
Go
package blockdag
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestIsSupportedDbType(t *testing.T) {
|
|
if !isSupportedDbType("ffldb") {
|
|
t.Errorf("ffldb should be a supported DB driver")
|
|
}
|
|
if isSupportedDbType("madeUpDb") {
|
|
t.Errorf("madeUpDb should not be a supported DB driver")
|
|
}
|
|
}
|