Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kelseyhightower committed May 2, 2014
1 parent bc9875d commit 712d81f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions etcd/etcdutil/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ func TestGetValues(t *testing.T) {
Dir: true,
Value: "",
Nodes: etcd.Nodes{
etcd.Node{Key: "/foo/one", Dir: false, Value: "one"},
etcd.Node{Key: "foo/two", Dir: false, Value: "two"},
etcd.Node{
&etcd.Node{Key: "/foo/one", Dir: false, Value: "one"},
&etcd.Node{Key: "foo/two", Dir: false, Value: "two"},
&etcd.Node{
Key: "/foo/three",
Dir: true,
Value: "",
Nodes: etcd.Nodes{
etcd.Node{Key: "/foo/three/bar", Value: "three_bar", Dir: false},
&etcd.Node{Key: "/foo/three/bar", Value: "three_bar", Dir: false},
},
},
},
Expand All @@ -45,8 +45,8 @@ func TestGetValues(t *testing.T) {
Value: "",
Dir: true,
Nodes: etcd.Nodes{
etcd.Node{Key: "/nginx/port", Dir: false, Value: "443"},
etcd.Node{Key: "/nginx/worker_processes", Dir: false, Value: "4"},
&etcd.Node{Key: "/nginx/port", Dir: false, Value: "443"},
&etcd.Node{Key: "/nginx/worker_processes", Dir: false, Value: "4"},
},
},
}
Expand Down

0 comments on commit 712d81f

Please sign in to comment.