1
0
mirror of https://github.com/go-acme/lego.git synced 2024-11-29 09:52:07 +02:00

Adjust client tests to new solver count

This commit is contained in:
xenolf 2015-11-12 22:51:12 +01:00
parent 94caca08d8
commit f29debf702

View File

@ -43,7 +43,7 @@ func TestNewClient(t *testing.T) {
t.Errorf("Expected keyBits to be %d but was %d", keyBits, client.keyBits) t.Errorf("Expected keyBits to be %d but was %d", keyBits, client.keyBits)
} }
if expected, actual := 1, len(client.solvers); actual != expected { if expected, actual := 2, len(client.solvers); actual != expected {
t.Fatalf("Expected %d solver(s), got %d", expected, actual) t.Fatalf("Expected %d solver(s), got %d", expected, actual)
} }