aboutsummaryrefslogtreecommitdiff
path: root/hotline/server_blackbox_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/server_blackbox_test.go')
-rw-r--r--hotline/server_blackbox_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/hotline/server_blackbox_test.go b/hotline/server_blackbox_test.go
index 45d32d4..888ca3f 100644
--- a/hotline/server_blackbox_test.go
+++ b/hotline/server_blackbox_test.go
@@ -35,13 +35,13 @@ func assertTransferBytesEqual(t *testing.T, wantHexDump string, got []byte) bool
var tranSortFunc = func(a, b Transaction) int {
return cmp.Compare(
- binary.BigEndian.Uint16(a.clientID[:]),
- binary.BigEndian.Uint16(b.clientID[:]),
+ binary.BigEndian.Uint16(a.ClientID[:]),
+ binary.BigEndian.Uint16(b.ClientID[:]),
)
}
-// tranAssertEqual compares equality of transactions slices after stripping out the random transaction Type
-func tranAssertEqual(t *testing.T, tran1, tran2 []Transaction) bool {
+// TranAssertEqual compares equality of transactions slices after stripping out the random transaction Type
+func TranAssertEqual(t *testing.T, tran1, tran2 []Transaction) bool {
var newT1 []Transaction
var newT2 []Transaction