github.hscsec.cn/aerogo/aero@v1.0.0/cmd/aero/test.go (about)

     1  package main
     2  
     3  const mainTestCode = `package main
     4  
     5  import (
     6  	"testing"
     7  
     8  	"github.com/aerogo/aero"
     9  )
    10  
    11  func TestApp(t *testing.T) {
    12  	app := configure(aero.New())
    13  	println(app.Config.Title)
    14  }
    15  `