Merge pull request #3356 from xiang90/travis

*: test gofmt with -s and fix reported issues
This commit is contained in:
Xiang Li
2015-08-21 18:59:51 -07:00
35 changed files with 266 additions and 266 deletions

View File

@ -196,10 +196,10 @@ func TestAllUsers(t *testing.T) {
Action: etcdstore.Get,
Node: &etcdstore.NodeExtern{
Nodes: etcdstore.NodeExterns([]*etcdstore.NodeExtern{
&etcdstore.NodeExtern{
{
Key: StorePermsPrefix + "/users/cat",
},
&etcdstore.NodeExtern{
{
Key: StorePermsPrefix + "/users/dog",
},
}),
@ -260,10 +260,10 @@ func TestAllRoles(t *testing.T) {
Action: etcdstore.Get,
Node: &etcdstore.NodeExtern{
Nodes: etcdstore.NodeExterns([]*etcdstore.NodeExtern{
&etcdstore.NodeExtern{
{
Key: StorePermsPrefix + "/roles/animal",
},
&etcdstore.NodeExtern{
{
Key: StorePermsPrefix + "/roles/human",
},
}),