]> Sergey Matveev's repositories - btrtrc.git/blobdiff - struct_test.go
Drop support for go 1.20
[btrtrc.git] / struct_test.go
index 6d71fcab14b4cc0b10af6277dff89bc7f0aa7be3..cee91e10bebc0fd88b15fba5ab443dedf853efe3 100644 (file)
@@ -8,5 +8,5 @@ import (
 func TestStructSizes(t *testing.T) {
        t.Log("[]*File", unsafe.Sizeof([]*File(nil)))
        t.Log("Piece", unsafe.Sizeof(Piece{}))
-       t.Log("map[*peer]struct{}", unsafe.Sizeof(map[*peer]struct{}(nil)))
+       t.Log("map[*peer]struct{}", unsafe.Sizeof(map[*Peer]struct{}(nil)))
 }