Address review

This commit is contained in:
Łukasz Magiera
2019-07-02 14:40:25 +02:00
parent c078989281
commit 7fdd369283
15 changed files with 41 additions and 36 deletions
+4 -4
View File
@@ -8,14 +8,14 @@ import (
"github.com/filecoin-project/go-lotus/build"
)
type NodeBuilder func() api.API
type APIBuilder func() api.API
type testSuite struct {
makeNode NodeBuilder
makeNode APIBuilder
}
func TestApis(t *testing.T, nb NodeBuilder) {
func TestApis(t *testing.T, b APIBuilder) {
ts := testSuite{
makeNode: nb,
makeNode: b,
}
t.Run("version", ts.testVersion)