Skip to content

Commit d3a9d12

Browse files
committed
chore: simplify test utilities
by removing unnecessary interfaces
1 parent d079f13 commit d3a9d12

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/rs.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ import (
77
"io"
88
)
99

10-
type endianness interface {
11-
binary.ByteOrder
12-
binary.AppendByteOrder
13-
}
14-
10+
// BytesReadSeeker provides utilities to read and write on a byte buffer, for testing purposes.
1511
type BytesReadSeeker struct {
16-
byteOrder endianness
12+
byteOrder binary.AppendByteOrder
1713
buffer []byte
1814
offset int64
1915

0 commit comments

Comments
 (0)