agent: Fixing config merge test

This commit is contained in:
Armon Dadgar 2014-11-19 13:38:58 -08:00
parent 666cf3c483
commit c449f07b38
1 changed files with 2 additions and 1 deletions

View File

@ -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)
}
}