S06-S08: Python spec, Go in-process leaf, tests and Forgejo CI
This commit is contained in:
commit
d67509e470
16 changed files with 726 additions and 0 deletions
14
go/internal/leaf/leaf_test.go
Normal file
14
go/internal/leaf/leaf_test.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package leaf
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestStartInProcess(t *testing.T) {
|
||||
n, err := Start("")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer n.Shutdown()
|
||||
if n.Addr() == "" {
|
||||
t.Fatal("empty addr")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue