mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 00:31:31 -04:00
Fix binary file output and eslint warnings
This commit is contained in:
parent
db261be707
commit
f2f3bdc923
2 changed files with 7 additions and 7 deletions
|
@ -201,11 +201,11 @@ PGP_TEST_KEY_PAIRS.forEach(function(keyPair) {
|
|||
if (keyPair.password) {
|
||||
TestRegister.addTests(
|
||||
["", "nottherightpassword"].map(function(incorrectPW) {
|
||||
var testName = "PGP Encrypt, PGP Decrypt: ensure error for incorrect password (pw [$pw], $ks, $name)";
|
||||
testName = testName.replace("$ks", keyPair.size);
|
||||
testName = testName.replace("$pw", incorrectPW);
|
||||
var testName = "PGP Encrypt, PGP Decrypt: ensure error for incorrect password (pw [$pw], $ks, $name)";
|
||||
testName = testName.replace("$ks", keyPair.size);
|
||||
testName = testName.replace("$pw", incorrectPW);
|
||||
|
||||
return {
|
||||
return {
|
||||
name: testName,
|
||||
input: "hello world",
|
||||
expectedError: true,
|
||||
|
@ -443,5 +443,5 @@ PGP_TEST_KEY_PAIRS.forEach(function(keyPair) {
|
|||
],
|
||||
};
|
||||
})
|
||||
)
|
||||
});
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue