tape: Use tu.Describe() in tests
This commit is contained in:
parent
6ba70ed046
commit
1b82f2cd83
@ -183,8 +183,8 @@ func testEncodeDecodeAny(test *testing.T, value, correctValue any) error {
|
||||
|
||||
_, decoded, n, err := decAny(bytes)
|
||||
if err != nil { return err }
|
||||
test.Log("got: ", decoded)
|
||||
test.Log("correct:", correctValue)
|
||||
test.Log("got: ", tu.Describe(decoded))
|
||||
test.Log("correct:", tu.Describe(correctValue))
|
||||
if !reflect.DeepEqual(decoded, correctValue) {
|
||||
return fmt.Errorf("values not equal")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user