mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 17:49:02 +00:00
util/dnsname: fix test error message
Updates #17788 Signed-off-by: Fran Bull <fran@tailscale.com>
This commit is contained in:
@@ -74,7 +74,7 @@ func TestFQDNTooLong(t *testing.T) {
|
||||
}
|
||||
got, err := ToFQDN(name)
|
||||
if err != nil {
|
||||
t.Fatalf("want: error to end with \"is too long to be a DNS name\", got: %v", err)
|
||||
t.Fatalf("want: no error, got: %v", err)
|
||||
}
|
||||
if string(got) != name {
|
||||
t.Fatalf("want: %s, got: %s", name, got)
|
||||
|
||||
Reference in New Issue
Block a user