fix nil pointer error

This commit is contained in:
Dan Laine 2020-07-03 15:18:39 -04:00
parent fa4cd10efe
commit a6317bd60f
1 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ func (e *EngineTest) IsBootstrapped() bool {
if e.T != nil { if e.T != nil {
e.T.Fatalf("Unexpectedly called IsBootstrapped") e.T.Fatalf("Unexpectedly called IsBootstrapped")
} }
panic("Unexpectedly called IsBootstrapped") return false
} }
return e.IsBootstrappedF() return false
} }