We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d30a952 commit b900a7aCopy full SHA for b900a7a
authority/authority_test.go
@@ -103,7 +103,7 @@ func TestAuthorityNew(t *testing.T) {
103
c.Root = []string{"foo"}
104
return &newTest{
105
config: c,
106
- err: errors.New("open foo failed: no such file or directory"),
+ err: errors.New("error reading foo: no such file or directory"),
107
}
108
},
109
"fail bad password": func(t *testing.T) *newTest {
@@ -121,7 +121,7 @@ func TestAuthorityNew(t *testing.T) {
121
c.IntermediateCert = "wrong"
122
123
124
- err: errors.New("open wrong failed: no such file or directory"),
+ err: errors.New("error reading wrong: no such file or directory"),
125
126
127
0 commit comments