Rename light to lite

This commit is contained in:
Adrian Brink
2017-11-09 17:37:18 -05:00
parent 1871a7c3d0
commit 248f176c1f
22 changed files with 153 additions and 153 deletions

25
lite/client/main_test.go Normal file
View File

@@ -0,0 +1,25 @@
package client_test
import (
"os"
"testing"
"github.com/tendermint/abci/example/dummy"
nm "github.com/tendermint/tendermint/node"
rpctest "github.com/tendermint/tendermint/rpc/test"
)
var node *nm.Node
func TestMain(m *testing.M) {
// start a tendermint node (and merkleeyes) in the background to test against
app := dummy.NewDummyApplication()
node = rpctest.StartTendermint(app)
code := m.Run()
// and shut down proper at the end
node.Stop()
node.Wait()
os.Exit(code)
}