wemixarchive / go-wemix

Go implementation of the Wemix project.
https://www.wemix.com/
GNU Lesser General Public License v3.0
28 stars 25 forks source link

tree_test.go TestParseEntry test error #78

Closed paul-ahn-wm closed 6 months ago

paul-ahn-wm commented 6 months ago

info

branch: master commit hash: cad51f52cd6551ed473446c3ea7551d4360a5ff8

error

line 126 test 5: wrong entry (dnsdisc.linkEntry)(0xc00009f860)(enrtree://AKPYQIUQIL7PSIACI32J7FGZW56E5FKHEFCCOFHILBIMW3M6LWXS2@nodes.example.org) , want (dnsdisc.linkEntry)(0xc00009f230)(enrtree://AKPYQIUQIL7PSIACI32J7FGZW56E5FKHEFCCOFHILBIMW3M6LWXS2@nodes.example.org) test 9: wrong entry (dnsdisc.enrEntry)(0xc00009a0c0)(enr:-HW4QES8QIeXTYlDzbfr1WEzE-XKY4f8gJFJzjJL-9D7TC9lJb4Z3JPRRz1lP4pL_N_QpT6rGQjAU9Apnc-C1iMP36OAgmlkgnY0iXNlY3AyNTZrMaED5IdwfMxdmR8W37HqSFdQLjDkIwBd4Q_MjxgZifgKSdM) , want (dnsdisc.enrEntry)(0xc00009a0b8)(enr:-HW4QInZPL-gXyZmgtWUjkE84D1ZYP-jNuJ4-u1K3CpeDQfxHaKVh6FltihA8ffF-YejBE53vhAItlpzqkwdowEhaeCAgmlkgnY0iXNlY3AyNTZrMaEDEQlUEOxVn2N6o8_B4k8kMxY9BTOgh7_RzNsMlPbHGn4)

Steps to reproduce the behaviour

run TestParseEntry

paul-ahn-wm commented 6 months ago

The issue occurs when using the latest Go version, but the tests pass when running with Go version 1.19.