pass: test for liveness

This commit is contained in:
Michael McLoughlin
2018-12-03 20:40:43 -08:00
parent b52c67f3fb
commit faafa00e40
4 changed files with 136 additions and 6 deletions

View File

@@ -6,17 +6,20 @@ import (
"log"
"github.com/mmcloughlin/avo"
"github.com/mmcloughlin/avo/reg"
)
type Context struct {
file *avo.File
function *avo.Function
errs []error
reg.Collection
}
func NewContext() *Context {
return &Context{
file: avo.NewFile(),
file: avo.NewFile(),
Collection: *reg.NewCollection(),
}
}