Projects STRLCPY dnstt Commits 8616ac4f
🤬
  • Fix dns.TestEncodeRDataTXT.

    It was always failing because of a debugging line I had left in.
  • Loading...
  • David Fifield committed 4 years ago
    8616ac4f
    1 parent e8647f61
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■ ■
    dns/dns_test.go
    skipped 499 lines
    500 500   // 255 bytes should be able to be encoded into 256 bytes.
    501 501   p = make([]byte, 255)
    502 502   encoded = EncodeRDataTXT(p)
    503  - t.Errorf("%x", encoded)
    504 503   if len(encoded) > 256 {
    505 504   t.Errorf("EncodeRDataTXT(%d bytes) returned %d bytes", len(p), len(encoded))
    506 505   }
    skipped 34 lines
Please wait...
Page is in error, reload to recover