We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aca150 commit b00ce34Copy full SHA for b00ce34
2 files changed
src/encoding/armor.js
@@ -43,7 +43,7 @@ function getType(text) {
43
var header = text.match(reHeader);
44
45
if (!header) {
46
- throw new Error('Unknow ASCII armor type');
+ throw new Error('Unknown ASCII armor type');
47
}
48
49
// BEGIN PGP MESSAGE, PART X/Y
test/general/armor.js
@@ -128,7 +128,7 @@ describe("ASCII armor", function() {
128
'-----END PGP SIGNNATURE-----'].join('\n');
129
130
msg = openpgp.cleartext.readArmored.bind(null, msg);
131
- expect(msg).to.throw(Error, /Unknow ASCII armor type/);
+ expect(msg).to.throw(Error, /Unknown ASCII armor type/);
132
});
133
134
it('Armor checksum validation', function () {
0 commit comments