16 lines
190 B
Go
16 lines
190 B
Go
package testutil
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestCreateEngine(t *testing.T) {
|
|
o, clean, eventC := TestEngine("foo")
|
|
defer clean()
|
|
defer func() {
|
|
<-eventC
|
|
close(eventC)
|
|
}()
|
|
_ = o
|
|
}
|