264fa19def
reflect.DeepEqual fails when comparing reflect.Value containing float64. I think it cannot make sense of reflect.Value pointer tricks and directly compare reflect.Value.val fields which contain the float value in 64 bits, but a pointer to the float in 32 bits. Fortunately, interface{} which have a similar memory layout, compare correctly, so we just turn the []reflect.Value into []interface{}. |
||
---|---|---|
.. | ||
testdata | ||
common.go | ||
common_test.go | ||
config.go | ||
doc.go | ||
dump.go | ||
dump_test.go | ||
dumpcgo_test.go | ||
dumpnocgo_test.go | ||
example_test.go | ||
format.go | ||
format_test.go | ||
internal_test.go | ||
spew.go | ||
spew_test.go |