Reflect the latest changes in revel related to testsuite

This commit is contained in:
anonx
2014-11-25 16:17:20 +06:00
parent a13856d4d0
commit 09c730bcea
2 changed files with 3 additions and 2 deletions

View File

@@ -322,6 +322,7 @@ import (
"reflect"
"github.com/revel/revel"{{range $k, $v := $.ImportPaths}}
{{$v}} "{{$k}}"{{end}}
"github.com/revel/revel/testing"
)
var (
@@ -360,7 +361,7 @@ func main() {
{{$line}}: "{{$key}}",{{end}}
},{{end}}
}
revel.TestSuites = []interface{}{ {{range .TestSuites}}
testing.TestSuites = []interface{}{ {{range .TestSuites}}
(*{{index $.ImportPaths .ImportPath}}.{{.StructName}})(nil),{{end}}
}