fixed comparison values

This commit is contained in:
Radu Ioan Fericean
2015-11-05 16:02:13 +02:00
parent eb293d9d2f
commit fcf16f232e

View File

@@ -406,7 +406,7 @@ func TestMatchLoadCsvWithStorRating(t *testing.T) {
refMap = qMap
continue
}
if !reflect.DeepEqual(refMap, qVal) {
if !reflect.DeepEqual(refMap, qMap) {
t.Errorf("Missmatched data for key: %s\n\t reference val: %+v \n\t retrieved val: %+v\n on iteration: %d", key, refMap, qMap, idx)
}
}
@@ -443,7 +443,7 @@ func TestMatchLoadCsvWithStorAccounting(t *testing.T) {
refMap = qMap
continue
}
if !reflect.DeepEqual(refMap, qVal) {
if !reflect.DeepEqual(refMap, qMap) {
t.Errorf("Missmatched data for key: %s\n\t, reference val: %+v \n\t retrieved value: %+v\n on iteration: %d", key, refMap, qMap, idx)
}
}