Browse Source

agent: Fixing config merge test

pull/486/head
Armon Dadgar 10 years ago
parent
commit
c449f07b38
  1. 3
      command/agent/config_test.go

3
command/agent/config_test.go

@ -878,6 +878,7 @@ func TestMergeConfig(t *testing.T) {
EnableDebug: false,
CheckUpdateIntervalRaw: "8m",
RetryIntervalRaw: "10s",
RetryIntervalWanRaw: "10s",
}
b := &Config{
@ -964,7 +965,7 @@ func TestMergeConfig(t *testing.T) {
c := MergeConfig(a, b)
if !reflect.DeepEqual(c, b) {
t.Fatalf("should be equal %v %v", c, b)
t.Fatalf("should be equal %#v %#v", c, b)
}
}

Loading…
Cancel
Save