aboutsummaryrefslogtreecommitdiff
path: root/solve_tls_test.go
blob: 78587cc4bc301612056fcc87a9b553c0eeb92559 (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)
	}
}