Skip to content

Commit

Permalink
fixup! signer: %s -> %q in xpi signer
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Guthe committed May 30, 2019
1 parent 2effff0 commit d522b01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions signer/xpi/cose_test.go
Expand Up @@ -513,7 +513,7 @@ func TestVerifyCOSESignaturesErrs(t *testing.T) {
roots: nil,
opts: Options{ID: "ffffffff-ffff-ffff-ffff-ffffffffffff"},
results: []string{
"xpi: failed to read \"META-INF/cose.manifest\" from signed zip: Error reading ZIP: zip: not a valid zip file",
"xpi: failed to read META-INF/cose.manifest from signed zip: Error reading ZIP: zip: not a valid zip file",
},
},
//1
Expand All @@ -527,7 +527,7 @@ func TestVerifyCOSESignaturesErrs(t *testing.T) {
roots: nil,
opts: Options{ID: "ffffffff-ffff-ffff-ffff-ffffffffffff"},
results: []string{
"xpi: failed to read META-INF/cose.sig from signed zip: failed to find META-INF/cose.sig in ZIP",
"xpi: failed to read META-INF/cose.sig from signed zip: failed to find \"META-INF/cose.sig\" in ZIP",
},
},
//2
Expand All @@ -545,7 +545,7 @@ func TestVerifyCOSESignaturesErrs(t *testing.T) {
roots: nil,
opts: Options{ID: "ffffffff-ffff-ffff-ffff-ffffffffffff"},
results: []string{
"xpi: failed to read META-INF/manifest.mf from signed zip: failed to find META-INF/manifest.mf in ZIP",
"xpi: failed to read META-INF/manifest.mf from signed zip: failed to find \"META-INF/manifest.mf\" in ZIP",
},
},
//3
Expand All @@ -567,7 +567,7 @@ func TestVerifyCOSESignaturesErrs(t *testing.T) {
roots: nil,
opts: Options{ID: "ffffffff-ffff-ffff-ffff-ffffffffffff"},
results: []string{
"xpi: pkcs7 manifest does not contain the line: Name: META-INF/cose.sig",
"xpi: pkcs7 manifest does not contain the line: \"Name: META-INF/cose.sig\"",
},
},
//4
Expand All @@ -589,7 +589,7 @@ func TestVerifyCOSESignaturesErrs(t *testing.T) {
roots: nil,
opts: Options{ID: "ffffffff-ffff-ffff-ffff-ffffffffffff"},
results: []string{
"xpi: cose manifest contains the line: Name: META-INF/cose.sig",
"xpi: cose manifest contains the line: \"Name: META-INF/cose.sig\"",
},
},
//5
Expand Down Expand Up @@ -686,7 +686,7 @@ func TestVerifyCOSESignaturesErrs(t *testing.T) {
COSEAlgorithms: []string{"ES256"},
},
results: []string{
"xpi: EECert 0: id foo does not match cert cn jid1-Kt2kYYgi32zPuw@jetpack",
"xpi: EECert 0: id \"foo\" does not match cert cn \"jid1-Kt2kYYgi32zPuw@jetpack\"",
},
},
//9
Expand Down

0 comments on commit d522b01

Please sign in to comment.