aboutsummaryrefslogtreecommitdiff
path: root/solve_tls_test.go
blob: 4f29809dec68eafda9ddcaf0d809ef017b5203e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package acme

import "testing"

const emptySni = "e3b0c44298fc1c149afbf4c8996fb924.27ae41e4649b934ca495991b7852b855.acme.invalid"

func TestSniName(t *testing.T) {
	n := sniName("")
	if n != emptySni {
		t.Error("got", n, "expected", emptySni)
	}
}