Runs go fmt after latest changes.

This commit is contained in:
James Phillips 2015-10-14 13:46:01 -07:00
parent e982f976eb
commit 268255dcbe
2 changed files with 7 additions and 7 deletions

View file

@ -103,7 +103,7 @@ func TestGraveyard_Lifecycle(t *testing.T) {
func TestGraveyard_GC_Trigger(t *testing.T) {
// Set up a fast-expiring GC.
ttl, granularity := 100 * time.Millisecond, 20 * time.Millisecond
ttl, granularity := 100*time.Millisecond, 20*time.Millisecond
gc, err := NewTombstoneGC(ttl, granularity)
if err != nil {
t.Fatalf("err: %s", err)

View file

@ -63,7 +63,7 @@ func TestStructs_ServiceNode_Clone(t *testing.T) {
ServiceTags: []string{"prod", "v1"},
ServiceAddress: "127.0.0.2",
ServicePort: 8080,
RaftIndex: RaftIndex{
RaftIndex: RaftIndex{
CreateIndex: 1,
ModifyIndex: 2,
},
@ -83,11 +83,11 @@ func TestStructs_ServiceNode_Clone(t *testing.T) {
func TestStructs_DirEntry_Clone(t *testing.T) {
e := &DirEntry{
LockIndex: 5,
Key: "hello",
Flags: 23,
Value: []byte("this is a test"),
Session: "session1",
RaftIndex: RaftIndex{
Key: "hello",
Flags: 23,
Value: []byte("this is a test"),
Session: "session1",
RaftIndex: RaftIndex{
CreateIndex: 1,
ModifyIndex: 2,
},