Skip to content

Commit

Permalink
remove wildcards from error message
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Dec 14, 2023
1 parent 96a4ad6 commit 4c5ef3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/archive/archive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,11 @@ var verifyArchiveReleaseTests = []verifyArchiveReleaseTest{{
pubKeys: []*packet.PublicKey{testKey.PublicKey},
}, {
summary: "No public key to verify with",
error: `.*cannot verify signature.*`,
error: `cannot verify signature of the InRelease file`,
}, {
summary: "Wrong public key",
pubKeys: []*packet.PublicKey{extraTestKey.PublicKey},
error: `.*cannot verify signature.*`,
error: `cannot verify signature of the InRelease file`,
}, {
summary: "Multiple public keys (invalid, valid)",
pubKeys: []*packet.PublicKey{extraTestKey.PublicKey, testKey.PublicKey},
Expand Down

0 comments on commit 4c5ef3f

Please sign in to comment.