equalNestedByteSlices compares two [][][]byte for equality
(a, b [][][]byte)
| 780 | |
| 781 | // equalNestedByteSlices compares two [][][]byte for equality |
| 782 | func equalNestedByteSlices(a, b [][][]byte) bool { |
| 783 | if len(a) != len(b) { |
| 784 | return false |
| 785 | } |
| 786 | for i := range a { |
| 787 | if !equalByteSlices(a[i], b[i]) { |
| 788 | return false |
| 789 | } |
| 790 | } |
| 791 | return true |
| 792 | } |
| 793 | |
| 794 | // toStringSlice converts [][]byte to []string for better error messages |
| 795 | func toStringSlice(b [][]byte) []string { |
no test coverage detected