Remove keyBits from tests, use keyType instead.

This commit is contained in:
xenolf 2016-02-21 04:22:03 +01:00
parent a61e41c90e
commit c9e1d0a482

View file

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