Address comments from review.

This commit is contained in:
Jeff Mitchell
2015-08-25 15:33:58 -07:00
parent f5271c2ab0
commit 4d877dc4eb
12 changed files with 47 additions and 76 deletions

View File

@@ -147,6 +147,7 @@ func TestInit_PGP(t *testing.T) {
args = []string{
"-address", addr,
"-key-shares", "3",
"-pgp-keys", pubFiles[0] + ",@" + pubFiles[1] + "," + pubFiles[2],
"-key-threshold", "2",
}
@@ -177,7 +178,7 @@ func TestInit_PGP(t *testing.T) {
if !reflect.DeepEqual(expected, sealConf) {
t.Fatalf("bad:\nexpected: %#v\ngot: %#v", expected, sealConf)
}
re, err := regexp.Compile("\\s+Initial Root Token:\\s+(.*)")
if err != nil {
t.Fatalf("Error compiling regex: %s", err)